为 ItemContainerTemplate 对象提供源键。
继承层次结构
System.Object
System.Windows.Markup.MarkupExtension
System.Windows.ResourceKey
System.Windows.TemplateKey
Microsoft.Windows.Controls.ItemContainerTemplateKey
命名空间: Microsoft.Windows.Controls
程序集: RibbonControlsLibrary(在 RibbonControlsLibrary.dll 中)
语法
声明
Public Class ItemContainerTemplateKey _
Inherits TemplateKey
public class ItemContainerTemplateKey : TemplateKey
public ref class ItemContainerTemplateKey : public TemplateKey
type ItemContainerTemplateKey =
class
inherit TemplateKey
end
public class ItemContainerTemplateKey extends TemplateKey
ItemContainerTemplateKey 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
ItemContainerTemplateKey() | 初始化 ItemContainerTemplateKey 类的新实例。 |
![]() |
ItemContainerTemplateKey(Object) | 用指定的数据类型初始化 ItemContainerTemplateKey 类的新实例。 |
页首
属性
名称 | 说明 | |
---|---|---|
![]() |
Assembly | 获取或设置包含模板定义的程序集。 (继承自 TemplateKey。) |
![]() |
DataType | 获取或设置模板设计所针对的类型。 (继承自 TemplateKey。) |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Equals | 返回一个值,该值指示给定实例是否与 TemplateKey 的此实例相同。 (继承自 TemplateKey。) |
![]() |
Finalize | 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。) |
![]() |
GetHashCode | 返回 TemplateKey 的此实例的哈希代码。 (继承自 TemplateKey。) |
![]() |
GetType | 获取当前实例的 Type。 (继承自 Object。) |
![]() |
MemberwiseClone | 创建当前 Object 的浅表副本。 (继承自 Object。) |
![]() |
ProvideValue | 返回此 ResourceKey。此类的实例通常用作字典中的键。 (继承自 ResourceKey。) |
![]() |
ToString | 返回此 TemplateKey 的字符串表示形式。 (继承自 TemplateKey。) |
页首
显式接口实现
名称 | 说明 | |
---|---|---|
![]() ![]() |
ISupportInitialize.BeginInit | 此成员支持 Windows Presentation Foundation (WPF) 基础结构,不应在代码中直接使用。 (继承自 TemplateKey。) |
![]() ![]() |
ISupportInitialize.EndInit | 此成员支持 Windows Presentation Foundation (WPF) 基础结构,不应在代码中直接使用。 (继承自 TemplateKey。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。