Share via


ContextItemManager Class

Maintains a set of context items.

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

Syntax

'Declaration
Public MustInherit Class ContextItemManager _
    Implements IEnumerable(Of ContextItem), IEnumerable
'Usage
Dim instance As ContextItemManager
public abstract class ContextItemManager : IEnumerable<ContextItem>, 
    IEnumerable
public ref class ContextItemManager abstract : IEnumerable<ContextItem^>, 
    IEnumerable
public abstract class ContextItemManager implements IEnumerable<ContextItem>, IEnumerable

Remarks

The ContextItemManager class maintains a set of context items. A context item represents a transient piece of state in a designer.

Create a ContextItemManager by calling the CreateContextItemManager method on EditingContext.

Use the Subscribe method to subscribe to change notifications on context items.

Inheritance Hierarchy

System.Object
  Microsoft.Windows.Design.ContextItemManager

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ContextItemManager Members

Microsoft.Windows.Design Namespace

ContextItem

SubscribeContextCallback<ContextItemType>

ServiceManager

FeatureManager

Other Resources

Editing Context Architecture

Understanding WPF Designer Extensibility