Table of Contents

CliTheme.DefaultBgColor Property

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

Gets or sets the default background color used by the app.

Default is null, which is equivalent to Black on Windows and is equivalent to (ConsoleColor)-1 (unset/unknown) on Unix-like platforms.

public ConsoleColor? DefaultBgColor { get; init; }

Property Value

ConsoleColor?