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
-
PercentageColumn CompletedStyle
(Style) - Sets the style for a completed task.
-
PercentageColumn Style
(Style) - Sets the style for a non-complete task.