Partilhar via


MouseAction.OnDragCanceled(MouseActionEventArgs) Method

Definition

Called when this MouseAction's drag operation has been canceled.

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

Parameters

e
MouseActionEventArgs

A MouseActionEventArgs that contains event data.

Remarks

Set e.ActionRequest to ActionRequest.CompleteAction to complete the MouseAction and deactivate it.

Applies to