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
Object → Hex1bWidget → MenuBarWidget
Implements
Constructors
MenuBarWidget(IReadOnlyList<MenuWidget>)
A horizontal menu bar that contains top-level menus. Typically placed at the top of an application.
Parameters:
Menus(IReadOnlyList<MenuWidget>): The top-level menus in the bar.
csharp
public MenuBarWidget(IReadOnlyList<MenuWidget> Menus)Properties
Menus
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 NextFocusableNextMenu
Rebindable action: Focus next menu.
Returns: ActionId
csharp
public static readonly ActionId NextMenuPreviousFocusable
Rebindable action: Focus previous focusable element.
Returns: ActionId
csharp
public static readonly ActionId PreviousFocusablePreviousMenu
Rebindable action: Focus previous menu.
Returns: ActionId
csharp
public static readonly ActionId PreviousMenu