Share via


EditingContext Class

Contains contextual state about a designer.

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

Syntax

'Declaration
Public Class EditingContext _
    Implements IDisposable
'Usage
Dim instance As EditingContext
public class EditingContext : IDisposable
public ref class EditingContext : IDisposable
public class EditingContext implements IDisposable

Remarks

The EditingContext class includes permanent state, such as a list of services that are running in the designer. It also includes transient state that consists of context items. Examples of transient context item state include the set of currently selected objects, and the editing tool being used to manipulate objects on the design surface. The editing context is designed to be a concrete class for ease of use. It does have a protected API that can be used to replace its implementation.

Inheritance Hierarchy

System.Object
  Microsoft.Windows.Design.EditingContext

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

EditingContext Members

Microsoft.Windows.Design Namespace

ServiceManager

ContextItemManager

ContextItem

FeatureManager

Other Resources

Editing Context Architecture

Understanding WPF Designer Extensibility