New-UDSplitPane
Synopsis
Creates a new split pane the user can resize.
Syntax
New-UDSplitPane [[-Id] <String>] [-Content] <ScriptBlock> [[-Direction] <String>] [[-MinimumSize] <Int32>] [[-DefaultSize] <Int32>] [<CommonParameters>]Description
Creates a new split pane the user can resize.
Parameters
-Id
The ID of the split pane. Defaults to a new GUID.
Required? false
Position? 1
Default value ([Guid]::NewGuid()).ToString()
Accept pipeline input? false
Aliases
Accept wildcard characters? false-Content
The content of the split pane. This should be a script block that returns two components.
-Direction
The direction of the split pane. Valid values are 'vertical' and 'horizontal'.
-MinimumSize
The minimum size of the split pane.
-DefaultSize
The default size of the split pane.
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
Last updated
Was this helpful?