Freigeben über


ConnectAction.GetCursor(Cursor, DiagramClientView, PointD) Method

Definition

Returns the connect action cursor

public:
 override System::Windows::Forms::Cursor ^ GetCursor(System::Windows::Forms::Cursor ^ currentCursor, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ diagramClientView, Microsoft::VisualStudio::Modeling::Diagrams::PointD mousePosition);
public override System.Windows.Forms.Cursor GetCursor (System.Windows.Forms.Cursor currentCursor, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView diagramClientView, Microsoft.VisualStudio.Modeling.Diagrams.PointD mousePosition);
override this.GetCursor : System.Windows.Forms.Cursor * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView * Microsoft.VisualStudio.Modeling.Diagrams.PointD -> System.Windows.Forms.Cursor
Public Overrides Function GetCursor (currentCursor As Cursor, diagramClientView As DiagramClientView, mousePosition As PointD) As Cursor

Parameters

currentCursor
Cursor

Cursor shape for connect action

diagramClientView
DiagramClientView

Diagram client view that this mouse action belongs to

mousePosition
PointD

Relative to diagram's top, left.

Returns

Applies to