PercentageColumn Class

A column showing task progress in percentage.
public sealed class PercentageColumn : ProgressColumn
Namespace
Spectre.Console
Base Types

Properties

Style CompletedStyle
Gets or sets the style for a completed task.
Style Style
Gets or sets the style for a non-complete task.

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

T And<PercentageColumn>(Action<PercentageColumn>)
Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.
PercentageColumn CompletedStyle(Style)
Sets the style for a completed task.
PercentageColumn Style(Style)
Sets the style for a non-complete task.