Version

Cursor Property (SiblingRowConnectorUIElement)

Returns the cursor that should be used when the mouse is over the element. By default this just walks up the parent chain by returning its parent's cursor
Syntax
'Declaration
 
Public Overrides ReadOnly Property Cursor As Cursor
public override Cursor Cursor {get;}
Example
This sample overrides the virtual property Cursor on UIElement. It displays a 'hand' cursor when the mouse is over the UIElement.

Imports System.Windows.Forms

Public Overrides ReadOnly Property Cursor() As Cursor

    Get
        Return Cursors.Hand
    End Get

End Property
using System.Windows.Forms;

public override Cursor Cursor
{

	get
	{
		return Cursors.Hand ;
	}

}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also