Udostępnij za pośrednictwem


AdornerProvider.Context Property

Gets the editing context that activated this adorner provider.

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

Syntax

'Declaration
Protected ReadOnly Property Context As EditingContext
'Usage
Dim value As EditingContext 

value = Me.Context
protected EditingContext Context { get; }
protected:
property EditingContext^ Context {
    EditingContext^ get ();
}
protected 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

AdornerProvider Members

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Adorner Architecture

Layout Space and Render Space

Feature Providers and Feature Connectors

Walkthrough: Creating a Design-time Adorner