Freigeben über


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

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

See Also

Reference

MouseAction Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace