Skip to content

MenuItemTheme

Namespace: Hex1b.Theming

Assembly: Hex1b.dll

Theme elements for menu items.

csharp
public static class MenuItemTheme

Inheritance

ObjectMenuItemTheme

Fields

AcceleratorBackgroundColor

The background color of accelerator characters.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> AcceleratorBackgroundColor

AcceleratorForegroundColor

The foreground color of accelerator characters.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> AcceleratorForegroundColor

AcceleratorUnderline

Whether accelerator characters should be underlined.

Returns: Hex1bThemeElement<Boolean>

csharp
public static readonly Hex1bThemeElement<bool> AcceleratorUnderline

BackgroundColor

The background color of menu items.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> BackgroundColor

DisabledForegroundColor

The foreground color of disabled menu items.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> DisabledForegroundColor

FocusedBackgroundColor

The background color of focused menu items.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> FocusedBackgroundColor

FocusedForegroundColor

The foreground color of focused menu items.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> FocusedForegroundColor

ForegroundColor

The foreground color of menu items.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> ForegroundColor

HoveredBackgroundColor

The background color of hovered menu items.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> HoveredBackgroundColor

HoveredForegroundColor

The foreground color of hovered menu items.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> HoveredForegroundColor

The indicator string for submenus (appears at end of submenu items).

Returns: Hex1bThemeElement<String>

csharp
public static readonly Hex1bThemeElement<string> SubmenuIndicator

Released under the MIT License.