Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the connect action cursor
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
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
- currentCursor
Type: System.Windows.Forms.Cursor
Cursor shape for connect action
- diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
Diagram client view that this mouse action belongs to
- mousePosition
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
Relative to diagram's top, left.
Return Value
Type: System.Windows.Forms.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.