/// <summary> /// The draw. /// </summary> /// <param name="context"> /// The context. /// </param> /// <param name="skin"> /// The skin. /// </param> /// <param name="layout"> /// The layout. /// </param> public override void Draw(IRenderContext context, ISkin skin, Rectangle layout) { skin.DrawHorizontalContainer(context, layout, this); foreach (var kv in this.ChildrenWithLayouts(layout).OrderByDescending(x => x.Key.Order)) { kv.Key.Draw(context, skin, kv.Value); } }