Sdílet prostřednictvím


Tool.Context-Eigenschaft

Aktualisiert: November 2007

Ruft den Bearbeitungskontext für Code innerhalb des Tools ab.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.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

Eigenschaftenwert

Typ: Microsoft.Windows.Design.EditingContext

Ein EditingContext für Code innerhalb des Tools.

Hinweise

Die Context-Eigenschaft ist nur verfügbar, wenn ein Tool aktiv ist. Wenn das Tool nicht aktiv ist, löst die Eigenschaft eine InvalidOperationException aus.

Berechtigungen

Siehe auch

Referenz

Tool-Klasse

Tool-Member

Microsoft.Windows.Design.Interaction-Namespace

Weitere Ressourcen

Toolarchitektur

Erweiterbare Architektur des WPF-Designers