SelectionTool.OnDeactivate Method
Called when a SelectionTool is deactivated.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Protected Overrides Sub OnDeactivate
protected override void OnDeactivate()
protected:
virtual void OnDeactivate() override
abstract OnDeactivate : unit -> unit
override OnDeactivate : unit -> unit
protected override function OnDeactivate()
Remarks
When the user selects a different SelectionTool, the existing tool is deactivated and removed from the EditingContext.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace