Table of Contents

StyleExtensions.Background Method

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

Creates a new style from the specified one with the specified background color.

public static CliStyle Background(this CliStyle style, CliColor color)

Parameters

style CliStyle

The style.

color CliColor

The background color.

Returns

CliStyle

The same instance so that multiple calls can be chained.