Share via


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
protected virtual void OnDeactivate()
protected:
virtual void OnDeactivate()
abstract OnDeactivate : unit -> unit 
override OnDeactivate : unit -> unit 
protected function OnDeactivate()

Remarks

A tool is deactivated when a different tool is placed in the EditingContext.

.NET Framework Security

See Also

Reference

Tool Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Tool Architecture

WPF Designer Extensibility Architecture