Share via


TaskProvider.Context Property

Gets the editing context that activated this task provider.

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

Syntax

'Declaration
Protected ReadOnly Property Context As EditingContext
    Get
protected EditingContext Context { get; }
protected:
property EditingContext^ Context {
    EditingContext^ get ();
}
member Context : EditingContext
function get Context () : EditingContext

Property Value

Type: Microsoft.Windows.Design.EditingContext
An EditingContext object that represents the object that activated the current task provider.

Remarks

This property is available only after a task provider has been activated.

.NET Framework Security

See Also

Reference

TaskProvider Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Understanding WPF Designer Extensibility