This documentation is archived and is not being maintained.

MouseAction.CanComplete Method

Gets the mouse action and verifies whether it can be completed.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

public bool CanComplete(
	DiagramClientView diagramClientView
)

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 completed; otherwise, false.

Show: