共用方式為


Selection.ItemType 屬性

取得 Selection 的型別。

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

語法

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

屬性值

型別:System.Type
Selection 的型別。

備註

Selection 的型別一律為 typeof(Selection)。

.NET Framework 安全性

請參閱

參考

Selection 類別

Microsoft.Windows.Design.Interaction 命名空間

SelectionCommands

SelectionOperations

SelectionTool

EditingContext

其他資源

WPF 設計工具擴充性架構