New-UDLayout
Synopsis
Create a layout based on the number of components within the layout.
Syntax
New-UDLayout [-Columns] <Int32> [-Content] <ScriptBlock> [<CommonParameters>]Description
Create a layout based on the number of components within the layout. The component wraps New-UDRow and New-UDColumn to automatically layout components in the content.
Parameters
-Columns
The number of columns in this layout.
Required? true
Position? 1
Default value 0
Accept pipeline input? false
Aliases
Accept wildcard characters? false-Content
The content for this layout.
Common parameters
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters.
Outputs
Examples
Example 1: Layout
Creates a layout with 2 columns.
Last updated
Was this helpful?