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 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overridable Function GetCursor ( _
currentCursor As Cursor, _
diagramClientView As DiagramClientView, _
mousePosition As PointD _
) As Cursor
'使用
Dim instance As ShapeField
Dim currentCursor As Cursor
Dim diagramClientView As DiagramClientView
Dim mousePosition As PointD
Dim returnValue As Cursor
returnValue = instance.GetCursor(currentCursor, _
diagramClientView, mousePosition)
public virtual Cursor GetCursor(
Cursor currentCursor,
DiagramClientView diagramClientView,
PointD mousePosition
)
public:
virtual Cursor^ GetCursor(
Cursor^ currentCursor,
DiagramClientView^ diagramClientView,
PointD mousePosition
)
public function GetCursor(
currentCursor : Cursor,
diagramClientView : DiagramClientView,
mousePosition : PointD
) : Cursor
Parameters
currentCursor
Type: System.Windows.Forms.CursorThe pointer that is appearing.
diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe diagram client view.
mousePosition
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointDThe current position of the pointer over the diagram.
Return Value
Type: System.Windows.Forms.Cursor
The pointer that appears when the mouse is pointing to the shape field.
Permissions
- 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.