MouseAction.OnMouseUp Method
Alerts listeners that the user has released the mouse button.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Protected Overridable Sub OnMouseUp ( _
e As DiagramMouseEventArgs _
)
protected virtual void OnMouseUp(
DiagramMouseEventArgs e
)
protected:
virtual void OnMouseUp(
DiagramMouseEventArgs^ e
)
abstract OnMouseUp :
e:DiagramMouseEventArgs -> unit
override OnMouseUp :
e:DiagramMouseEventArgs -> unit
protected function OnMouseUp(
e : DiagramMouseEventArgs
)
Parameters
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramMouseEventArgs
The arguments for a mouse event that occurs over the diagram.
Remarks
If your intent is to respond to a MouseDown + MouseUp combination that does not include dragging, override the OnClicked method instead. (A MouseMove may occur between MouseDown and MouseUp that does not exceed a drag delta and therefore does not start dragging.)
.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.