MouseAction::OnMouseUp Method (DiagramMouseEventArgs^)

 

Alerts listeners that the user has released the mouse button.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

protected:
virtual void OnMouseUp(
	DiagramMouseEventArgs^ e
)

Parameters

e
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramMouseEventArgs^

The arguments for a mouse event that occurs over the diagram.

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.)

Return to top
Show: