Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Protected Overridable Sub OnDragCanceled ( _
e As MouseActionEventArgs _
)
protected virtual void OnDragCanceled(
MouseActionEventArgs e
)
protected:
virtual void OnDragCanceled(
MouseActionEventArgs^ e
)
abstract OnDragCanceled :
e:MouseActionEventArgs -> unit
override OnDragCanceled :
e:MouseActionEventArgs -> unit
protected function OnDragCanceled(
e : MouseActionEventArgs
)
Parameters
e
Type: Microsoft.VisualStudio.Modeling.Diagrams.MouseActionEventArgsThe arguments for a mouse action.
Remarks
Set e.ActionRequest to ActionRequest.CompleteAction to complete the MouseAction and deactivate it.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.