Tool.OnDeactivate Method
Called when a tool is being deactivated.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Protected Overridable Sub OnDeactivate
'Usage
Me.OnDeactivate()
protected virtual void OnDeactivate()
protected:
virtual void OnDeactivate()
protected function OnDeactivate()
Remarks
A tool is deactivated when a different tool is placed in 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