Color Class¶
Definition¶
namespace Sharplog.Settings
- Object
- Color
-
Class containing colors for the ConsoleOutput.
Constructors¶
Name |
---|
Color() |
Color(ConsoleColor, ConsoleColor)] |
Properties¶
Name | Type | GET | SET |
---|---|---|---|
Background | ConsoleColor | ||
Foreground | ConsoleColor |
Constructors¶
Color()¶
-
Initializes a new instance of the Color class.
Color(ConsoleColor, ConsoleColor)¶
-
Initializes a new instance of the Color class.
Parameter¶
foreground
ConsoleColor ·ConsoleColor.White
- The foreground color.
background
ConsoleColor ·ConsoleColor.Black
- The background color.
Properties¶
Background¶
- Type: ConsoleColor
-
Gets or sets the background color.
Foreground¶
- Type: ConsoleColor
-
Gets or sets the foreground color.