Table of Contents

Method GetAllSubMenus

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

GetAllSubMenus()

Gets all the submenus in the popover menu hierarchy, including the root menu.

public IEnumerable<Menu> GetAllSubMenus()

Returns

IEnumerable<Menu>

An enumerable collection of all Menu instances in the hierarchy.

Remarks

This method performs a depth-first traversal of the menu tree, starting from Root.