Skip to content

ToggleSwitchTheme

Namespace: Hex1b.Theming

Assembly: Hex1b.dll

Theme elements for ToggleSwitch widgets. The toggle switch displays multiple options horizontally, with the selected option highlighted.

csharp
public static class ToggleSwitchTheme

Inheritance

ObjectToggleSwitchTheme

Fields

FocusedBracketBackgroundColor

Background color for brackets when focused.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> FocusedBracketBackgroundColor

FocusedBracketForegroundColor

Foreground color for brackets when focused.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> FocusedBracketForegroundColor

FocusedSelectedBackgroundColor

Background color for the selected option when focused.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> FocusedSelectedBackgroundColor

FocusedSelectedForegroundColor

Foreground color for the selected option when focused.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> FocusedSelectedForegroundColor

LeftBracket

Left bracket character(s) for the toggle switch.

Returns: Hex1bThemeElement<String>

csharp
public static readonly Hex1bThemeElement<string> LeftBracket

RightBracket

Right bracket character(s) for the toggle switch.

Returns: Hex1bThemeElement<String>

csharp
public static readonly Hex1bThemeElement<string> RightBracket

Separator

Separator between options.

Returns: Hex1bThemeElement<String>

csharp
public static readonly Hex1bThemeElement<string> Separator

UnfocusedBracketBackgroundColor

Background color for brackets when unfocused.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> UnfocusedBracketBackgroundColor

UnfocusedBracketForegroundColor

Foreground color for brackets when unfocused.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> UnfocusedBracketForegroundColor

UnfocusedSelectedBackgroundColor

Background color for the selected option when unfocused.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> UnfocusedSelectedBackgroundColor

UnfocusedSelectedForegroundColor

Foreground color for the selected option when unfocused.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> UnfocusedSelectedForegroundColor

UnselectedBackgroundColor

Background color for unselected options.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> UnselectedBackgroundColor

UnselectedForegroundColor

Foreground color for unselected options.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> UnselectedForegroundColor

Released under the MIT License.