MouseAction.OnDragCanceled(MouseActionEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
A MouseActionEventArgs that contains event data.
Remarks
Set e.ActionRequest to ActionRequest.CompleteAction to complete the MouseAction and deactivate it.