Share via


ShapeField.GetCursor Method

Gets the pointer that appears when the mouse is pointing to the shape field.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public Overridable Function GetCursor ( _
    currentCursor As Cursor, _
    diagramClientView As DiagramClientView, _
    mousePosition As PointD _
) As Cursor
public virtual Cursor GetCursor(
    Cursor currentCursor,
    DiagramClientView diagramClientView,
    PointD mousePosition
)
public:
virtual Cursor^ GetCursor(
    Cursor^ currentCursor, 
    DiagramClientView^ diagramClientView, 
    PointD mousePosition
)
abstract GetCursor : 
        currentCursor:Cursor * 
        diagramClientView:DiagramClientView * 
        mousePosition:PointD -> Cursor  
override GetCursor : 
        currentCursor:Cursor * 
        diagramClientView:DiagramClientView * 
        mousePosition:PointD -> Cursor
public function GetCursor(
    currentCursor : Cursor, 
    diagramClientView : DiagramClientView, 
    mousePosition : PointD
) : Cursor

Parameters

  • currentCursor
    Type: Cursor

    The pointer that is appearing.

Return Value

Type: Cursor
The pointer that appears when the mouse is pointing to the shape field.

.NET Framework Security

See Also

Reference

ShapeField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace