0
は、私のようないくつかのテンプレートユーザーコントロールを見てきました。しかし、私がしたいのは、コントロールのようなパラメータを渡すことです。ASP.net template宣言ユーザーコントロール
<uc:Control1 ID="Uc1" runat="server">
<messagetemplate>
<CustomAttribute="Color" Value="Green" />
<CustomAttribute="Size" Value="Small" />
<CustomAttribute="Param1" Value="1" />
</messagetemplate>
</uc:Control1>
私にこの方法を教えてください。