HighlightStyle<T>(SelectionPrompt<T>, Style) Method

Sets the highlight style of the selected choice.
public static SelectionPrompt<T> HighlightStyle<T>(this SelectionPrompt<T> obj, Style highlightStyle) 
    where T : notnull
Namespace
Spectre.Console
Containing Type
SelectionPromptExtensions

Parameters

T
The prompt result type.

Parameters

SelectionPrompt<T> obj
The prompt.
Style highlightStyle
The highlight style of the selected choice.

Returns