SubmenuExtensions

public static class SubmenuExtensions
Extensions for the ISubmenu interface.

Methods

GetChildren

#Example
public static IEnumerable<MenuItem> GetChildren(this ISubmenu submenu)
Gets an enumeration of all children of the specified submenu.
Remarks: This traverses all items of the submenu, and any children of those items if they implement ISubmenu as well.
submenu (ISubmenu)Submenu to get all child menu items for.
Enumeration of all child menu items of the specified submenu.