SelectionTool.OnActivate Method
Called when a SelectionTool is activated.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Protected Overrides Sub OnActivate ( _
previousTool As Tool _
)
protected override void OnActivate(
Tool previousTool
)
protected:
virtual void OnActivate(
Tool^ previousTool
) override
abstract OnActivate :
previousTool:Tool -> unit
override OnActivate :
previousTool:Tool -> unit
protected override function OnActivate(
previousTool : Tool
)
Parameters
- previousTool
Type: Microsoft.Windows.Design.Interaction.Tool
The tool that was previously active.
Remarks
When the user activates a SelectionTool, it 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