ChoicesStyle<T>(TextPrompt<T>, Style) Method

Sets the style in which the list of choices is displayed.
public static TextPrompt<T> ChoicesStyle<T>(this TextPrompt<T> obj, Style style)
Namespace
Spectre.Console
Containing Type
TextPromptExtensions

Parameters

T
The prompt result type.

Parameters

TextPrompt<T> obj
The prompt.
Style style
The style to use for displaying the choices or to use the default style (blue).

Returns