SpinnerTheme
Namespace: Hex1b.Theming
Assembly: Hex1b.dll
Theme elements for Spinner widgets.
csharp
public static class SpinnerThemeInheritance
Object → SpinnerTheme
Fields
BackgroundColor
The background color for the spinner character.
Returns: Hex1bThemeElement<Hex1bColor>
csharp
public static readonly Hex1bThemeElement<Hex1bColor> BackgroundColorForegroundColor
The foreground color for the spinner character.
Returns: Hex1bThemeElement<Hex1bColor>
csharp
public static readonly Hex1bThemeElement<Hex1bColor> ForegroundColorStyle
The default spinner style used when no explicit style is specified.
Returns: Hex1bThemeElement<SpinnerStyle>
csharp
public static readonly Hex1bThemeElement<SpinnerStyle> StyleRemarks
SpinnerTheme provides customization for spinner appearance:
: The default spinner animation style: The spinner character color: The spinner background color
Examples
Customize spinner appearance via theme:
csharp
var theme = new Hex1bThemeBuilder()
.Set(SpinnerTheme.Style, SpinnerStyle.Arrow)
.Set(SpinnerTheme.ForegroundColor, Hex1bColor.Green)
.Build();