Skip to content

MenuBarWidget

Namespace: Hex1b.Widgets

Assembly: Hex1b.dll

A horizontal menu bar that contains top-level menus. Typically placed at the top of an application.

csharp
public sealed record MenuBarWidget : Hex1bWidget, IEquatable<Hex1bWidget>, IEquatable<MenuBarWidget>

Inheritance

ObjectHex1bWidgetMenuBarWidget

Implements

Constructors

A horizontal menu bar that contains top-level menus. Typically placed at the top of an application.

Parameters:

csharp
public MenuBarWidget(IReadOnlyList<MenuWidget> Menus)

Properties

The top-level menus in the bar.

Returns: IReadOnlyList<MenuWidget>

csharp
public IReadOnlyList<MenuWidget> Menus { get; init; }

Fields

NextFocusable

Rebindable action: Focus next focusable element.

Returns: ActionId

csharp
public static readonly ActionId NextFocusable

NextMenu

Rebindable action: Focus next menu.

Returns: ActionId

csharp
public static readonly ActionId NextMenu

PreviousFocusable

Rebindable action: Focus previous focusable element.

Returns: ActionId

csharp
public static readonly ActionId PreviousFocusable

PreviousMenu

Rebindable action: Focus previous menu.

Returns: ActionId

csharp
public static readonly ActionId PreviousMenu

Released under the MIT License.