Constructor PopoverMenu | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

Initializes a new instance of the PopoverMenu class.

Initializes a new instance of the PopoverMenu class. If any of the elements ofmenuItems is null, a see Line will be created instead.

public PopoverMenu(IEnumerable<View>? menuItems)

Parameters

menuItems IEnumerable<View>

public PopoverMenu(IEnumerable<MenuItemv2>? menuItems)

Parameters

menuItems IEnumerable<MenuItemv2>

Initializes a new instance of the PopoverMenu class with the specified root Menuv2.

public PopoverMenu(Menuv2? root)

Parameters

root Menuv2