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.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property ItemType As Type
    Get
public abstract Type ItemType { get; }
public:
virtual property Type^ ItemType {
    Type^ get () abstract;
}
abstract ItemType : Type
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

Microsoft.Windows.Design Namespace

ContextItemManager

ServiceManager

FeatureManager

Other Resources

Editing Context Architecture

Understanding WPF Designer Extensibility