Partilhar via


ToolboxAction.OnClicked Method

Called when this MouseAction has received a non-dragging MouseDown + MouseUp combination or when it has received a Complete event.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaração
Protected Overrides Sub OnClicked ( _
    e As MouseActionEventArgs _
)
protected override void OnClicked(
    MouseActionEventArgs e
)
protected:
virtual void OnClicked(
    MouseActionEventArgs^ e
) override
abstract OnClicked : 
        e:MouseActionEventArgs -> unit 
override OnClicked : 
        e:MouseActionEventArgs -> unit 
protected override function OnClicked(
    e : MouseActionEventArgs
)

Parameters

Remarks

Set e.ActionRequest to ActionRequest.CompleteAction to complete the MouseAction and deactivate it.

.NET Framework Security

See Also

Reference

ToolboxAction Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace