MouseAction.OnClicked Method
Alerts listeners that the user has clicked the mouse.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
‘선언
Protected Overridable Sub OnClicked ( _
e As MouseActionEventArgs _
)
protected virtual void OnClicked(
MouseActionEventArgs e
)
protected:
virtual void OnClicked(
MouseActionEventArgs^ e
)
abstract OnClicked :
e:MouseActionEventArgs -> unit
override OnClicked :
e:MouseActionEventArgs -> unit
protected function OnClicked(
e : MouseActionEventArgs
)
Parameters
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.MouseActionEventArgs
The arguments for the mouse action in a diagram.
Remarks
Set e.ActionRequest to ActionRequest.CompleteAction to complete the MouseAction and deactivate it.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.