The responsive layout grid adapts to screen size and orientation, ensuring consistency across layouts.
The grid creates visual consistency between layouts while allowing flexibility across a wide variety of designs. Material Design’s responsive UI is based on a 12-column grid layout.
New-UDColumn provides multiple sizing parameters for different screen sizes. This allows you to use the same components but different layouts when viewed from different screen sizes. The following parameters control the size of the column based on screen size:
-ExtraLargeSize
-LargeSize
-MediumSize
-SmallSize
The following example creates a different layout for the different screen sizes.
If a screen size is not specified, the next one down would be used. For example, if only -SmallSize was specified, it would be used for all screen sizes.