Stack components in one dimesion.
Last updated 1 year ago
PowerShell Universal
Community
Support
Copyright 2024 Ironman Software
The Stack component manages layout of immediate children along the vertical or horizontal axis with optional spacing and/or dividers between each child.
Horizontally stacked items.
New-UDStack -Content { New-UDPaper -Content { "Item 1" } -Elevation 3 New-UDPaper -Content { "Item 2" } -Elevation 3 New-UDPaper -Content { "Item 3" } -Elevation 3 } -Spacing 2
Vertically stacked items.
New-UDStack -Content { New-UDPaper -Content { "Item 1" } -Elevation 3 New-UDPaper -Content { "Item 2" } -Elevation 3 New-UDPaper -Content { "Item 3" } -Elevation 3 } -Spacing 2 -Direction 'column'
New-UDStack