New-UDTransferList
Synopsis
Creates a transfer list component.
Syntax
New-UDTransferList [[-Id] <String>] [[-Item] <ScriptBlock>] [[-SelectedItem] <String[]>] [[-OnChange] <Endpoint>] [[-ClassName] <String>] [-Disabled] [[-Height] <String>] [[-Width] <String>] [-ShowSearch] [[-Alignment] <String>] [-Dense] [[-LeftTitle] <String>] [[-RightTitle] <String>] [[-LeftSubTitle] <String>] [[-RightSubTitle] <String>] [-Enhanced] [<CommonParameters>]Description
A transfer list (or "shuttle") enables the user to move one or more list items between lists.
Parameters
-Id
The ID of this component.
Required? false
Position? 1
Default value [Guid]::NewGuid()
Accept pipeline input? false
Aliases
Accept wildcard characters? false-Item
A list of items that can be transferred between lists. Use New-UDTransferListItem to create an item.
-SelectedItem <String[]>
A list of selected items. Use the value of item to transfer items between lists.
-OnChange
A script block that is executed when the user changes the selected items.
-ClassName
-Disabled
-Height
-Width
-ShowSearch
Shows search box for left hand items
-Alignment
Alignment of the transfer list. Valid values are left, right, and center.
-Dense
Makes the transfer list dense.
-LeftTitle
Title for the left hand list.
-RightTitle
Title for the right hand list.
-LeftSubTitle
Subtitle for the left hand list.
-RightSubTitle
Subtitle for the right hand list.
-Enhanced
Show enhanced selection.
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 Transfer List
Creates a basic transfer list.
Example 2: OnChange
Creates a transfer list with an OnChange script block.
Example 3: Selected Items
Creates a transfer list with selected items.
Example 4: Disabled
Creates a disabled transfer list.
Example 5: Disabled Item
Creates a transfer list with a disabled item.
Example 6: Width and Height
Creates a transfer list with a width and height.
Example 7: Dense
Creates a transfer list with dense items.
Example 8: Show Search
Creates a transfer list with a search box.
Example 9: Titles
Creates a transfer list with titles.
Example 10: Enhanced
Creates a transfer list with enhanced selection.
Last updated
Was this helpful?