MouseAction::OnDragCanceled Method (MouseActionEventArgs^)

 

Alerts listeners that the drag operation has been canceled.

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 OnDragCanceled(
	MouseActionEventArgs^ e
)

Parameters

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

The arguments for a mouse action.

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

Return to top
Show: