Share via


Selection.ItemType Property

Gets the type of Selection.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Overrides NotOverridable ReadOnly Property ItemType As Type
'Usage
Dim instance As Selection 
Dim value As Type 

value = instance.ItemType
public override sealed Type ItemType { get; }
public:
virtual property Type^ ItemType {
    Type^ get () override sealed;
}
public override final function get ItemType () : Type

Property Value

Type: System.Type
The type of Selection.

Remarks

The type of Selection is always typeof(Selection).

.NET Framework Security

See Also

Reference

Selection Class

Selection Members

Microsoft.Windows.Design.Interaction Namespace

SelectionCommands

SelectionOperations

SelectionTool

EditingContext

Other Resources

WPF Designer Extensibility Architecture