LassoAction.GetCursor(Cursor, DiagramClientView, PointD) Methode

Definition

Ruft den Cursor ab, der an der angegebenen Mausposition angezeigt werden soll.

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

Parameter

currentCursor
Cursor

Der vorhandene Cursor.

diagramClientView
DiagramClientView

Der DiagramClientView, der den Cursor anfordert.

mousePosition
PointD

Die Cursorposition in globalen Einheiten relativ zur oberen linken Ecke des Diagramms.

Gibt zurück

Cursor

Der Cursor, der an der angegebenen Mausposition angezeigt werden soll.

Hinweise

Diese Methode wird von der DiagramClientView aufgerufen, wenn diese mousaction aktiv ist, oder, wenn es sich um die mögliche mouseeaction handelt.

Gilt für