MenuBarItem
A top-level menu of a MenuBar.
Inherits: Control
Properties
items- The menu items:MenuFlyoutItem,ToggleMenuFlyoutItem,RadioMenuFlyoutItemandMenuFlyoutSeparatorcontrols.text- The label of the menu button.
Properties
itemsclass-attributeinstance-attribute
items: list[Control] = field(default_factory=list)The menu items: MenuFlyoutItem,
ToggleMenuFlyoutItem,
RadioMenuFlyoutItem and
MenuFlyoutSeparator controls.