Rediger

Del via


EditingContext Class

Definition

Contains contextual state information for a designer, such as the WorkflowDesigner. This includes permanent state information, such as the list of services running in the designer. It also includes transient state consisting of context items including the set of currently selected objects as well as the editing tool being used to manipulate objects on the design surface.

public ref class EditingContext : IDisposable
public class EditingContext : IDisposable
type EditingContext = class
    interface IDisposable
Public Class EditingContext
Implements IDisposable
Inheritance
EditingContext
Implements

Remarks

The EditingContext represents the communication boundary that is shared between the hosting application and the Windows Workflow Designer. The EditingContext was implemented as a concrete class for ease of use. Override CreateServiceManager and CreateContextItemManager to use customized managers derived from ServiceManager and ContextItemManager.

Constructors

EditingContext()

Initializes a new instance of the EditingContext class.

Properties

Items

Returns the local collection of context items stored by the current editing context.

Services

Returns the service manager used in the current editing context.

Methods

CreateContextItemManager()

Creates an instance of the context item manager that is returned by the Items property.

CreateServiceManager()

Creates an instance of the service manager to be returned from the Services property.

Dispose()

Immediately releases any unmanaged resources used by the object.

Dispose(Boolean)

Immediately releases the unmanaged resources used by the current EditingContext object.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Events

Disposing

Occurs when the Dispose() method is called or when the EditingContext object is finalized and collected by the garbage collector of the Microsoft .NET common language runtime.

Applies to