ToolboxAction.OnClicked(MouseActionEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
A MouseActionEventArgs that contains event data.
Remarks
Set e.ActionRequest to ActionRequest.CompleteAction to complete the MouseAction and deactivate it.