Share via


AdornerProvider.Context Property

Gets the editing context that activated this adorner 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 that activated this adorner provider.

Remarks

This property is available only after an adorner provider has been activated.

.NET Framework Security

See Also

Reference

AdornerProvider Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Adorner Architecture

Feature Providers and Feature Connectors

Walkthrough: Creating a Design-time Adorner