Constructor PopoverMenu
PopoverMenu()
Initializes a new instance of the PopoverMenu class.
public PopoverMenu()
PopoverMenu(IEnumerable<View>?)
Initializes a new instance of the PopoverMenu class. If any of the elements of
menuItems is null, a Line will be created instead.
public PopoverMenu(IEnumerable<View>? menuItems)
Parameters
menuItemsIEnumerable<View>The views to use as menu items. Null elements become separator lines.
Remarks
Remember to call Register(IPopover?) before calling MakeVisible(Point?).
PopoverMenu(IEnumerable<MenuItem>?)
Initializes a new instance of the PopoverMenu class with the specified menu items.
public PopoverMenu(IEnumerable<MenuItem>? menuItems)
Parameters
menuItemsIEnumerable<MenuItem>The menu items to display in the popover.
Remarks
Remember to call Register(IPopover?) before calling MakeVisible(Point?).
PopoverMenu(Menu?)
Initializes a new instance of the PopoverMenu class with the specified root Menu.
public PopoverMenu(Menu? root)
Parameters
rootMenuThe root menu that contains the top-level menu items.
Remarks
Remember to call Register(IPopover?) before calling MakeVisible(Point?).