ToolCommand.Name 属性

[本文档仅供预览,在以后的发行版中可能会发生更改。包含的空白主题用作占位符。]

获取此命令的名称。

命名空间:  Microsoft.Windows.Design.Interaction
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

声明
Public ReadOnly Property Name As String
public string Name { get; }
public:
property String^ Name {
    String^ get ();
}
member Name : string
function get Name () : String

属性值

类型:System.String
一个表示此命令的名称的字符串,或者为空字符串(如果此命令没有名称)。

.NET Framework 安全性

请参见

参考

ToolCommand 类

Microsoft.Windows.Design.Interaction 命名空间

其他资源

工具体系结构

了解 WPF 设计器扩展性