发布日期:2020-04-10
A.Apply the TemplateContainerAttribute to a property of type ITemplate. Pass the type of the template's naming container as the argument to the attribute.
B.Apply the TemplateContainerAttribute to the user control's class declaration.
C.Implement a property of type INamingContainer in the user control's code-behind class.
D.Implement a property of type ITemplate in the user control's code-behind class.
E.Define a new class that inherits from the ITemplate interface. Implement the InstantiateIn method of the ITemplate interface.
热门试题
热门资讯
暂无相关推荐~
使用浏览器的分享功能,把这篇文章分享出去
确定