WorkflowDesigner.Context Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an EditingContext object that is a collection of services shared between all elements contained in the designer and used to interact between the host and the designer. Services are published and requested through the EditingContext.
public:
property System::Activities::Presentation::EditingContext ^ Context { System::Activities::Presentation::EditingContext ^ get(); };
public System.Activities.Presentation.EditingContext Context { get; }
member this.Context : System.Activities.Presentation.EditingContext
Public ReadOnly Property Context As EditingContext
Property Value
The editing context for the workflow designer.
Remarks
Context is not guaranteed to be available during initialization, as the data binding may have not yet resolved. There are two ways to ensure that an editing context is available.
Use ModelChanged, which executes whenever the model is assigned to, or when the value the property points to is updated.
Subscribe to the Context dependency property's availability using Register.