Muokkaa

Jaa


WorkflowDesigner.Context Property

Definition

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.

Applies to