SpinnerColumn Class

A column showing a spinner.
public sealed class SpinnerColumn : ProgressColumn
Namespace
Spectre.Console
Base Types

Constructors

SpinnerColumn()
Initializes a new instance of the SpinnerColumn class.
SpinnerColumn(Spinner)
Initializes a new instance of the SpinnerColumn class.

Properties

Style CompletedStyle
Gets or sets the completed style.
string CompletedText
Gets or sets the text that should be shown instead of the spinner once a task completes.
Style PendingStyle
Gets or sets the pending style.
string PendingText
Gets or sets the text that should be shown instead of the spinner before a task begins.
Spinner Spinner
Gets or sets the Spinner.
Style Style
Gets or sets the style of the spinner.

Methods

override int? GetColumnWidth(RenderOptions)
Gets the width of the column.
override IRenderable Render(RenderOptions, ProgressTask, TimeSpan)
Gets a renderable representing the column.

Extension Methods

SpinnerColumn CompletedStyle(Style)
Sets the completed style of the spinner.
SpinnerColumn CompletedText(string)
Sets the text that should be shown instead of the spinner once a task completes.
SpinnerColumn Style(Style)
Sets the style of the spinner.