ProgressTheme
Namespace: Hex1b.Theming
Assembly: Hex1b.dll
Theme elements for Progress widgets.
public static class ProgressThemeInheritance
Object → ProgressTheme
Fields
EmptyBackgroundColor
The background color for the empty (uncompleted) portion of the progress bar.
Returns: Hex1bThemeElement<Hex1bColor>
public static readonly Hex1bThemeElement<Hex1bColor> EmptyBackgroundColorEmptyCharacter
The character used to render the empty (uncompleted) portion of the progress bar.
Returns: Hex1bThemeElement<Char>
public static readonly Hex1bThemeElement<char> EmptyCharacterEmptyForegroundColor
The foreground color for the empty (uncompleted) portion of the progress bar.
Returns: Hex1bThemeElement<Hex1bColor>
public static readonly Hex1bThemeElement<Hex1bColor> EmptyForegroundColorFilledBackgroundColor
The background color for the filled portion of a determinate progress bar.
Returns: Hex1bThemeElement<Hex1bColor>
public static readonly Hex1bThemeElement<Hex1bColor> FilledBackgroundColorFilledCharacter
The character used to render the filled (completed) portion of a determinate progress bar.
Returns: Hex1bThemeElement<Char>
public static readonly Hex1bThemeElement<char> FilledCharacterFilledForegroundColor
The foreground color for the filled portion of a determinate progress bar.
Returns: Hex1bThemeElement<Hex1bColor>
public static readonly Hex1bThemeElement<Hex1bColor> FilledForegroundColorFilledLeftHalfCharacter
The character used for a left-half filled cell.
Returns: Hex1bThemeElement<Char>
public static readonly Hex1bThemeElement<char> FilledLeftHalfCharacterFilledRightHalfCharacter
The character used for a right-half filled cell.
Returns: Hex1bThemeElement<Char>
public static readonly Hex1bThemeElement<char> FilledRightHalfCharacterIndeterminateBackgroundColor
The background color for the animated segment in indeterminate mode.
Returns: Hex1bThemeElement<Hex1bColor>
public static readonly Hex1bThemeElement<Hex1bColor> IndeterminateBackgroundColorIndeterminateCharacter
The character used for the animated segment in indeterminate mode.
Returns: Hex1bThemeElement<Char>
public static readonly Hex1bThemeElement<char> IndeterminateCharacterIndeterminateForegroundColor
The foreground color for the animated segment in indeterminate mode.
Returns: Hex1bThemeElement<Hex1bColor>
public static readonly Hex1bThemeElement<Hex1bColor> IndeterminateForegroundColorUseHalfCellPrecision
Whether to use half-cell precision for smoother progress display.
Returns: Hex1bThemeElement<Boolean>
public static readonly Hex1bThemeElement<bool> UseHalfCellPrecisionRemarks
ProgressTheme provides customization for both determinate and indeterminate progress bars:
Filled section (determinate mode): The completed portion of the progress barEmpty section: The uncompleted portion of the progress barIndeterminate section: The animated segment in indeterminate mode
Examples
Customize progress bar appearance:
var theme = new Hex1bThemeBuilder()
.Set(ProgressTheme.FilledCharacter, '▓')
.Set(ProgressTheme.EmptyCharacter, '░')
.Set(ProgressTheme.FilledForegroundColor, Hex1bColor.Green)
.Build();