Ejemplo n.º 1
0
        public void Start()
        {
            var ui = new UiElements(uiCache);

            using (var editor = ui.List.Edit())
            {
                for (var y = 0; y < 5; ++y)
                {
                    editor.Contents.Add(new UIFactory <Items, Title>((Title x) =>
                    {
                    }));

                    for (var i = 0; i < 5; ++i)
                    {
                        editor.Contents.Add(new UIFactory <Items, Title>(x =>
                        {
                            using (var e = Layouter.LeftToRight(x.Item))
                            {
                                e.Create();
                                e.Create();
                                e.Create();
                            }
                        }));
                    }
                }
            }
        }