共用方式為


CreationTool.CreationType 屬性

更新:2007 年 11 月

取得或設定這個工具應該建立之物件的型別。

命名空間:  Microsoft.Windows.Design.Interaction
組件:  Microsoft.Windows.Design.Extensibility (在 Microsoft.Windows.Design.Extensibility.dll 中)

語法

Public Property CreationType As Type

Dim instance As CreationTool
Dim value As Type

value = instance.CreationType

instance.CreationType = value
public Type CreationType { get; set; }
public:
property Type^ CreationType {
    Type^ get ();
    void set (Type^ value);
}
public function get CreationType () : Type
public function set CreationType (value : Type)

屬性值

型別:System.Type

Type 物件,表示這個工具應該建立之物件的型別。例如,如果這個工具應該建立按鈕,則這個屬性應為 typeof(Button)。

使用權限

請參閱

參考

CreationTool 類別

CreationTool 成員

Microsoft.Windows.Design.Interaction 命名空間

其他資源

了解 WPF 設計工具擴充性