.NET Framework (current version)
Gets or sets a value indicating whether the cursor is visible.
mscorlib (in mscorlib.dll)
static member CursorVisible : bool with get, set
true if the cursor is visible; otherwise, false.
The effect of a set operation persists until the termination of the application that performs the operation. The cursor visibility reverts to its original value after the application terminates.
This example demonstrates the CursorVisible property. The example makes the cursor visible if the first column of input is a '+' character or invisible if the input is a '-' character.
No code example is currently available or this language may not be supported.
Return to top
Available since 2.0