Ejemplo n.º 1
0
        public static Grid HorizontalJustificate(this Grid grid, Justificate Option, params View[] views)
        {
            switch (Option)
            {
            case Justificate.Even:
                grid.HorizontalJustificate(views);
                break;

            case Justificate.Odd:
                grid.OddHorizontalJustificate(views);
                break;
            }
            return(grid);
        }
Ejemplo n.º 2
0
        public static Grid LineJustificate(this Grid grid, StackOrientation Orientation, Justificate Option, params View[] views)
        {
            switch (Orientation)
            {
            case StackOrientation.Horizontal:
                grid.HorizontalJustificate(Option, views);
                break;

            case StackOrientation.Vertical:
                grid.VerticalJustificate(Option, views);
                break;
            }
            return(grid);
        }