SubmenuExtensions public static class SubmenuExtensions Show allExtensions for the ISubmenu interface. ObsoleteInherited MethodsGetChildren#Examplepublic 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.Parameters:submenu (ISubmenu)Submenu to get all child menu items for.Returns: Enumeration of all child menu items of the specified submenu.https://github.com/picoe/Eto/blob/fc8395dc3630c1ea5e1b1e8cb900e9cfb80c800e/src/Eto/Forms/Menu/SubMenu.cs:40