初始化 ItemContainerTemplateKey 类的新实例。
命名空间: Microsoft.Windows.Controls
程序集: RibbonControlsLibrary(在 RibbonControlsLibrary.dll 中)
语法
声明
Public Sub New
public ItemContainerTemplateKey()
public:
ItemContainerTemplateKey()
new : unit -> ItemContainerTemplateKey
public function ItemContainerTemplateKey()
备注
当不使用 dataType 参数来初始化 ItemContainerTemplateKey 时(例如,当在 XAML 中进行设置时)必须设置 DataType 属性的值。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。