Class ProgressBarNoText
Progress bar without text
Inheritance
Namespace
Syntax
public class ProgressBarNoText : SimpleCyclicWriter
Constructors
ProgressBarNoText(int, int, Spinner?)
Makes a new instance of progress bar
Declaration
public ProgressBarNoText(int position, int maxPosition, Spinner? progressSpinner = null)
Parameters
| Name | Type | Description |
|---|---|---|
| position | int | Current position |
| maxPosition | int | Max position |
| progressSpinner | Spinner | Spinner instance to use, or SpinMore |
Properties
Accurate
Specifies whether the progress bar uses unicode block characters to accurately describe progress or not.
Remarks
If Indeterminate is true, this won't be applied.
Property Value
Declaration
public bool Accurate { get; set; }
Indeterminate
Specifies whether the progress is indeterminate
Property Value
Declaration
public bool Indeterminate { get; set; }
Position
Position of the progress bar
Property Value
Declaration
public int Position { get; set; }
ProgressActiveForegroundColor
Progress active foreground
Property Value
Declaration
public Color ProgressActiveForegroundColor { get; set; }
ProgressBackgroundColor
Progress background
Property Value
Declaration
public Color ProgressBackgroundColor { get; set; }
ProgressFailedActiveForegroundColor
Progress failed active foreground
Property Value
Declaration
public Color ProgressFailedActiveForegroundColor { get; set; }
ProgressFailedForegroundColor
Progress failed foreground
Property Value
Declaration
public Color ProgressFailedForegroundColor { get; set; }
ProgressForegroundColor
Progress foreground
Property Value
Declaration
public Color ProgressForegroundColor { get; set; }
ProgressHorizontalActiveTrackChar
Progress horizontal active track character for drawing
Remarks
If Accurate is enabled, this property is ignored.
Property Value
Declaration
public char ProgressHorizontalActiveTrackChar { get; set; }
ProgressHorizontalInactiveTrackChar
Progress horizontal inactive track character for drawing
Remarks
If Accurate is enabled, this property is ignored.
Property Value
Declaration
public char ProgressHorizontalInactiveTrackChar { get; set; }
ProgressPausedActiveForegroundColor
Progress paused active foreground
Property Value
Declaration
public Color ProgressPausedActiveForegroundColor { get; set; }
ProgressPausedForegroundColor
Progress paused foreground
Property Value
Declaration
public Color ProgressPausedForegroundColor { get; set; }
ProgressPercentageTextColor
Progress percentage text color
Property Value
Declaration
public Color ProgressPercentageTextColor { get; set; }
ProgressSpinnerTextColor
Progress spinner color
Property Value
Declaration
public Color ProgressSpinnerTextColor { get; set; }
ProgressUncoloredHorizontalActiveTrackChar
Progress horizontal active track character for drawing (uncolored)
Remarks
If Accurate is enabled, this property is ignored.
Property Value
Declaration
public char ProgressUncoloredHorizontalActiveTrackChar { get; set; }
ProgressUncoloredHorizontalInactiveTrackChar
Progress horizontal inactive track character for drawing (uncolored)
Remarks
If Accurate is enabled, this property is ignored.
Property Value
Declaration
public char ProgressUncoloredHorizontalInactiveTrackChar { get; set; }
ProgressUncoloredVerticalActiveTrackChar
Progress vertical active track character for drawing (uncolored)
Remarks
If Accurate is enabled, this property is ignored.
Property Value
Declaration
public char ProgressUncoloredVerticalActiveTrackChar { get; set; }
ProgressUncoloredVerticalInactiveTrackChar
Progress vertical inactive track character for drawing (uncolored)
Remarks
If Accurate is enabled, this property is ignored.
Property Value
Declaration
public char ProgressUncoloredVerticalInactiveTrackChar { get; set; }
ProgressVerticalActiveTrackChar
Progress vertical active track character for drawing
Remarks
If Accurate is enabled, this property is ignored.
Property Value
Declaration
public char ProgressVerticalActiveTrackChar { get; set; }
ProgressVerticalInactiveTrackChar
Progress vertical inactive track character for drawing
Remarks
If Accurate is enabled, this property is ignored.
Property Value
Declaration
public char ProgressVerticalInactiveTrackChar { get; set; }
ProgressWarningActiveForegroundColor
Progress warning active foreground
Property Value
Declaration
public Color ProgressWarningActiveForegroundColor { get; set; }
ProgressWarningForegroundColor
Progress warning foreground
Property Value
Declaration
public Color ProgressWarningForegroundColor { get; set; }
ShowPercentage
Specifies whether the progress bar shows percentage or not (ignored in indeterminate progress bars)
Property Value
Declaration
public bool ShowPercentage { get; set; }
State
State of the progress bar
UseColors
Whether to use colors or not
Property Value
Declaration
public bool UseColors { get; set; }
Width
Width of the progress bar
Property Value
Declaration
public int Width { get; set; }
Methods
Render()
Renders a scrolling text progress bar
Returns
The result
Declaration
public override string Render()