MouseAction.CanCancel Method
Gets the mouse action and verifies whether it can be canceled.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
Public Function CanCancel ( _
diagramClientView As DiagramClientView _
) As Boolean
public bool CanCancel(
DiagramClientView diagramClientView
)
public:
bool CanCancel(
DiagramClientView^ diagramClientView
)
member CanCancel :
diagramClientView:DiagramClientView -> bool
public function CanCancel(
diagramClientView : DiagramClientView
) : boolean
Parameters
- diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
The client view for the diagram.
Return Value
Type: System.Boolean
true if the mouse action can be canceled; otherwise, false.
.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.