Share via


ContextItem.ItemType Property

When overridden in a derived class, gets the item type for this editing context item.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property ItemType As Type
'Usage
Dim instance As ContextItem 
Dim value As Type 

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

Property Value

Type: System.Type
The Type for this editing context item.

Remarks

Context items are considered unique based on their item type. By using ItemType to identify a type of context item, you can catalog several derived versions of context items under the same key in the editing context.

.NET Framework Security

See Also

Reference

ContextItem Class

ContextItem Members

Microsoft.Windows.Design Namespace

ContextItemManager

ServiceManager

FeatureManager

Other Resources

Editing Context Architecture

Understanding WPF Designer Extensibility