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
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.
Siehe auch
Referenz
Microsoft.Windows.Design.Interaction-Namespace