共用方式為


CurrentDesignerView.ItemType 屬性

取得這個項目的項目型別。

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

語法

'宣告
Public Overrides ReadOnly Property ItemType As Type
    Get
public override Type ItemType { get; }
public:
virtual property Type^ ItemType {
    Type^ get () override;
}
abstract ItemType : Type
override ItemType : Type
override function get ItemType () : Type

屬性值

型別:System.Type
Type ,表示這個項目的型別。

備註

這個屬性一定會傳回 CurrentDesignerView

.NET Framework 安全性

請參閱

參考

CurrentDesignerView 類別

Microsoft.Windows.Design.Interaction 命名空間

其他資源

WPF 設計工具擴充性