Console Properties

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticBackgroundColor

Gets or sets the background color of the console.

System_CAPS_pubpropertySystem_CAPS_staticBufferHeight

Gets or sets the height of the buffer area.

System_CAPS_pubpropertySystem_CAPS_staticBufferWidth

Gets or sets the width of the buffer area.

System_CAPS_pubpropertySystem_CAPS_staticCapsLock

Gets a value indicating whether the CAPS LOCK keyboard toggle is turned on or turned off.

System_CAPS_pubpropertySystem_CAPS_staticCursorLeft

Gets or sets the column position of the cursor within the buffer area.

System_CAPS_pubpropertySystem_CAPS_staticCursorSize

Gets or sets the height of the cursor within a character cell.

System_CAPS_pubpropertySystem_CAPS_staticCursorTop

Gets or sets the row position of the cursor within the buffer area.

System_CAPS_pubpropertySystem_CAPS_staticCursorVisible

Gets or sets a value indicating whether the cursor is visible.

System_CAPS_pubpropertySystem_CAPS_staticError

Gets the standard error output stream.

System_CAPS_pubpropertySystem_CAPS_staticForegroundColor

Gets or sets the foreground color of the console.

System_CAPS_pubpropertySystem_CAPS_staticIn

Gets the standard input stream.

System_CAPS_pubpropertySystem_CAPS_staticInputEncoding

Gets or sets the encoding the console uses to read input.

System_CAPS_pubpropertySystem_CAPS_staticIsErrorRedirected

Gets a value that indicates whether the error output stream has been redirected from the standard error stream.

System_CAPS_pubpropertySystem_CAPS_staticIsInputRedirected

Gets a value that indicates whether input has been redirected from the standard input stream.

System_CAPS_pubpropertySystem_CAPS_staticIsOutputRedirected

Gets a value that indicates whether output has been redirected from the standard output stream.

System_CAPS_pubpropertySystem_CAPS_staticKeyAvailable

Gets a value indicating whether a key press is available in the input stream.

System_CAPS_pubpropertySystem_CAPS_staticLargestWindowHeight

Gets the largest possible number of console window rows, based on the current font and screen resolution.

System_CAPS_pubpropertySystem_CAPS_staticLargestWindowWidth

Gets the largest possible number of console window columns, based on the current font and screen resolution.

System_CAPS_pubpropertySystem_CAPS_staticNumberLock

Gets a value indicating whether the NUM LOCK keyboard toggle is turned on or turned off.

System_CAPS_pubpropertySystem_CAPS_staticOut

Gets the standard output stream.

System_CAPS_pubpropertySystem_CAPS_staticOutputEncoding

Gets or sets the encoding the console uses to write output.

System_CAPS_pubpropertySystem_CAPS_staticTitle

Gets or sets the title to display in the console title bar.

System_CAPS_pubpropertySystem_CAPS_staticTreatControlCAsInput

Gets or sets a value indicating whether the combination of the Control modifier key and C console key (Ctrl+C) is treated as ordinary input or as an interruption that is handled by the operating system.

System_CAPS_pubpropertySystem_CAPS_staticWindowHeight

Gets or sets the height of the console window area.

System_CAPS_pubpropertySystem_CAPS_staticWindowLeft

Gets or sets the leftmost position of the console window area relative to the screen buffer.

System_CAPS_pubpropertySystem_CAPS_staticWindowTop

Gets or sets the top position of the console window area relative to the screen buffer.

System_CAPS_pubpropertySystem_CAPS_staticWindowWidth

Gets or sets the width of the console window.

Return to top
Show: