Share via


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

Remarks

When the user activates a SelectionTool, it is placed in the EditingContext.

.NET Framework Security

See Also

Reference

SelectionTool Class

Microsoft.Windows.Design.Interaction Namespace

Selection

SelectionCommands

SelectionOperations

TaskProvider

Other Resources

WPF Designer Extensibility Architecture