Skip to content

MenuDropdown

MenuDropdown is an internal widget used by MenuBar to display dropdown menus. You typically don’t need to use this directly.

MenuDropdown is automatically created and managed by MenuBar when a menu item with subitems is activated. It handles the visual display and keyboard navigation of dropdown menus.

MenuDropdown is created automatically when you open a menu with subitems:

var menuBar = new MenuBar();
menuBar.AddMenu("File",
new MenuItem("New"),
new MenuItem("Open")
);
// MenuDropdown is created automatically when "File" is opened
  • MenuBar - Creates and manages MenuDropdown
  • MenuItem - Items displayed in dropdown