MouseAction::GetCursor Method (Cursor^, DiagramClientView^, PointD)

 

Gets the pointer to display for the mouse.

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

public:
virtual Cursor^ GetCursor(
	Cursor^ currentCursor,
	DiagramClientView^ diagramClientView,
	PointD mousePosition
)

Parameters

currentCursor
Type: System.Windows.Forms::Cursor^

The pointer to display.

diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramClientView^

The client view of the diagram.

mousePosition
Type: Microsoft.VisualStudio.Modeling.Diagrams::PointD

The position of the mouse over the diagram.

Return Value

Type: System.Windows.Forms::Cursor^

The pointer to display for the mouse.

This method is called by the DiagramClientView if this MouseAction is active or if it is the potential MouseAction.

Return to top
Show: