Udostępnij za pośrednictwem


MouseAction.OnMouseUp(DiagramMouseEventArgs) Method

Definition

Called when a MouseUp event has been dispatched to this MouseAction.

protected:
 virtual void OnMouseUp(Microsoft::VisualStudio::Modeling::Diagrams::DiagramMouseEventArgs ^ e);
protected virtual void OnMouseUp (Microsoft.VisualStudio.Modeling.Diagrams.DiagramMouseEventArgs e);
abstract member OnMouseUp : Microsoft.VisualStudio.Modeling.Diagrams.DiagramMouseEventArgs -> unit
override this.OnMouseUp : Microsoft.VisualStudio.Modeling.Diagrams.DiagramMouseEventArgs -> unit
Protected Overridable Sub OnMouseUp (e As DiagramMouseEventArgs)

Parameters

e
DiagramMouseEventArgs

A DiagramMouseEventArgs that contains event data.

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

Applies to