osu.Framework.Tests/Visual/UserInterface/TestCaseNestedMenus.cs
/// <summary>
/// Retrieves the <see cref="Menu.DrawableMenuItem"/>s of the <see cref="Menu"/> represented by this <see cref="MenuStructure"/>.
/// </summary>
Retrieves the s of the  represented by this .
Retrieves the s of the represented by this .
public IReadOnlyList<Drawable> GetMenuItems()
            {
                var contents = (CompositeDrawable)menu.InternalChildren[0];
                var contentContainer = (CompositeDrawable)contents.InternalChildren[1];
                return ((CompositeDrawable)((CompositeDrawable)contentContainer.InternalChildren[0]).InternalChildren[0]).InternalChildren;
            }
public IReadOnlyList < Drawable > GetMenuItems ( ) { var contents = ( CompositeDrawable ) menu . InternalChildren [ 0 ] ; var contentContainer = ( CompositeDrawable ) contents . InternalChildren [ 1 ] ; return ( ( CompositeDrawable ) ( ( CompositeDrawable ) contentContainer . InternalChildren [ 0 ] ) . InternalChildren [ 0 ] ) . InternalChildren ; }
Retrieves the s of the  represented by this .
Retrieves the s of the represented by this .