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

 

Gets the cursor to display at the specified mouse position.

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
) override

Parameters

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

The existing cursor.

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

The DiagramClientView requesting the cursor.

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

The cursor position in world units relative to the top-left of the diagram.

Return Value

Type: System.Windows.Forms::Cursor^

The cursor to display at the specified mouse position.

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

Return to top
Show: