New-UDRow
Synopsis
Creates a new row for a grid.
Syntax
New-UDRow [-Id <String>] [[-Columns] <ScriptBlock>] [-Style <Hashtable>] [<CommonParameters>]Description
Creates a new row for a grid. This is a wrapper for New-UDGrid -Container.
Parameters
-Id
The ID of the row.
Required? false
Position? named
Default value ([Guid]::NewGuid())
Accept pipeline input? false
Aliases
Accept wildcard characters? false-Columns
The columns to include in the row.
-Style
The style of the row.
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: Basic Row
Creates a new row with two columns, each taking up half the width on small screens.
Example 2: Row Style
Creates a new row with two columns, each taking up one-third of the width on small screens, and applies a background color style to the row.
Last updated
Was this helpful?