ShapeSubField.GetCursor Method
Gets the cursor that is displayed when the mouse pointer is over the ShapeSubField.
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: CursorThe current cursor.
diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe view that the cursor will be drawn on.
mousePosition
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointDThe mouse position in world units relative to diagram's top-left.
Return Value
Type: Cursor
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.