次の方法で共有


ToolboxAction.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:
 override void OnClicked(Microsoft::VisualStudio::Modeling::Diagrams::MouseActionEventArgs ^ e);
protected override void OnClicked (Microsoft.VisualStudio.Modeling.Diagrams.MouseActionEventArgs e);
override this.OnClicked : Microsoft.VisualStudio.Modeling.Diagrams.MouseActionEventArgs -> unit
Protected Overrides 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