Assembly: PresentationCore (in presentationcore.dll)
The cursor to set the mouse pointer to.
Return Valuetrue, if the cursor was set; otherwise, false.
The cursor being set does not apply to any particular element, but rather it applies to the whole application. So, if after setting the cursor the mouse pointer moves over an object which sets the cursor, the cursor will be changed again.
To force the mouse pointer to a specific Cursor and to force this Cursor on all elements, set the OverrideCursor property.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.