DragDropPendingAction::GetCursor Method (Cursor^, DiagramClientView^, PointD)
Visual Studio 2015
Gets the cursor to display at the specified mouse position.
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^This method is called by the DiagramClientView if this MouseAction is active or if it is the potential MouseAction.
Show: