Partilhar via


MouseAction.OnClicked(MouseActionEventArgs) Method

Definition

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

protected:
 virtual void OnClicked(Microsoft::VisualStudio::Modeling::Diagrams::MouseActionEventArgs ^ e);
protected virtual void OnClicked (Microsoft.VisualStudio.Modeling.Diagrams.MouseActionEventArgs e);
abstract member OnClicked : Microsoft.VisualStudio.Modeling.Diagrams.MouseActionEventArgs -> unit
override this.OnClicked : Microsoft.VisualStudio.Modeling.Diagrams.MouseActionEventArgs -> unit
Protected Overridable Sub OnClicked (e As MouseActionEventArgs)

Parameters

e
MouseActionEventArgs

A MouseActionEventArgs that contains event data.

Remarks

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

Applies to