Exemplo n.º 1
0
        private static LayoutGroup CreateDummyGroup()
        {
            var group = new LayoutGroup();

            group.Init(-9999, true, null);
            return(group);
        }
Exemplo n.º 2
0
        private LayoutGroup CreateRootGroup(int rootId, Size size)
        {
            var rootGroup = new LayoutGroup();

            rootGroup.Init(rootId, true, null);
            rootGroup.ContentWidth            = size.Width;
            rootGroup.ContentHeight           = size.Height;
            rootGroup.HorizontalStretchFactor = 1;
            //rootGroup.VerticalStretchFactor = 1;
            return(rootGroup);
        }