ShapeSubField.GetCursor(Cursor, DiagramClientView, PointD) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the cursor that is displayed when the mouse pointer is over the ShapeSubField.
public:
virtual System::Windows::Forms::Cursor ^ GetCursor(System::Windows::Forms::Cursor ^ currentCursor, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ diagramClientView, Microsoft::VisualStudio::Modeling::Diagrams::PointD mousePosition);
public virtual System.Windows.Forms.Cursor GetCursor (System.Windows.Forms.Cursor currentCursor, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView diagramClientView, Microsoft.VisualStudio.Modeling.Diagrams.PointD mousePosition);
abstract member GetCursor : System.Windows.Forms.Cursor * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView * Microsoft.VisualStudio.Modeling.Diagrams.PointD -> System.Windows.Forms.Cursor
override this.GetCursor : System.Windows.Forms.Cursor * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView * Microsoft.VisualStudio.Modeling.Diagrams.PointD -> System.Windows.Forms.Cursor
Public Overridable Function GetCursor (currentCursor As Cursor, diagramClientView As DiagramClientView, mousePosition As PointD) As Cursor
Parameters
- currentCursor
- Cursor
The current cursor.
- diagramClientView
- DiagramClientView
The view that the cursor will be drawn on.
- mousePosition
- PointD
The mouse position in world units relative to diagram's top-left.
Returns
The cursor to display.