Vixen
02b45cc4
csharp
public abstract record class MenuEntry

One line of a menu, in the model rather than on screen.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

⚠ A menu is described by command ids and rebuilt from them. It holds no labels, no shortcuts and no enablement — all three come from the registry and the keymap when the menu is built, so a command renamed, rebound or disabled is right everywhere at once and a menu cannot disagree with a toolbar about what something is called.

Used by (9)

  • EditorAffordanceTestsVixen.Editor.App.Tests
  • MenuBarTestsVixen.Editor.App.Tests
  • MenuCommandVixen.Editor.Ui
  • MenuDynamicVixen.Editor.Ui
  • MenuGroupVixen.Editor.Ui
  • MenuPresenterVixen.Editor.Ui
  • MenuSeparatorVixen.Editor.Ui
  • MenuSubmenuVixen.Editor.Ui
  • PluginContextVixen.Editor.Plugin