Method GetAllSubMenus
GetAllSubMenus()
Gets all the submenus in this menu's hierarchy, including this 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 this.