ToolboxAction::OnClicked Method (MouseActionEventArgs^)

 

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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

protected:
virtual void OnClicked(
	MouseActionEventArgs^ e
) override

Parameters

e
Type: Microsoft.VisualStudio.Modeling.Diagrams::MouseActionEventArgs^

A MouseActionEventArgs that contains event data.

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

Return to top
Show: