csharp
public sealed class MenuBarThe strip of menus along the top of a window.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ Once one menu is open, hovering another opens it. That is not decoration — it is what every menu bar does, and without it a user who opened the wrong menu has to click twice to see the right one. It is also why the bar tracks whether anything is open at all: the same hover with nothing open must do nothing.
Fields and properties (5)
protected override string TagNameThe element name this type answers to when a caller does not choose one.
protected override bool AcceptsFocusWhether the focus can rest on this kind of control at all.
protected override AccessibleRole NativeRolepublic IReadOnlyList<MenuBarItem> ItemsThe names on the bar, in order.
public Menu? CurrentThe menu currently dropped, if any.
Methods (4)
Used by (13)
- ShellHelloUi
- AccessibilityTreeTestsVixen.Ui.Controls.Tests
- CommandMenuVixen.Ui.Controls.Tests
- NestedTagTestsVixen.Ui.Controls.Advanced.Tests
- OverlayLifetimeTestsVixen.Ui.Controls.Tests
- SurfaceTestsVixen.Ui.Controls.Tests
- EditorSessionVixen.Editor.Testing
- EditorShellTestsVixen.Editor.Ui.Tests
- MenuBarTestsVixen.Editor.App.Tests
- MenuPresenterVixen.Editor.Ui
- MenuTestsVixen.Editor.Ui.Tests
- StringCatalogChainTestsVixen.Editor.App.Tests
- ToolbarSectionTestsVixen.Editor.Ui.Tests