Partager via


DragDropPendingAction.GetCursor Method

Gets the cursor to display at the specified mouse position.

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

Syntax

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

Parameters

Return Value

Type: System.Windows.Forms.Cursor

Remarks

This method is called by the DiagramClientView if this MouseAction is active or if it is the potential MouseAction.

.NET Framework Security

See Also

Reference

DragDropPendingAction Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace