CreationTool.CreationType 属性

获取或设置此工具需要创建的模板类型。

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

语法

声明
Public Property CreationType As Type
    Get
    Set
public Type CreationType { get; set; }
public:
property Type^ CreationType {
    Type^ get ();
    void set (Type^ value);
}
member CreationType : Type with get, set
function get CreationType () : Type
function set CreationType (value : Type)

属性值

类型:System.Type
一个 Type 对象,表示此工具应创建的对象的类型。例如,如果此工具要创建按钮,则该属性应为 typeof(Button)。

.NET Framework 安全性

请参见

参考

CreationTool 类

Microsoft.Windows.Design.Interaction 命名空间

其他资源

了解 WPF 设计器扩展性