Blazorise Transfer List API

Explore the Blazorise Transfer List API reference for parameters, events, methods, and related types.

For examples and usage guidance, see the Transfer List documentation.

API

Parameters

ParameterDefaultType
EndCaption"End"string

Specifies the end caption text for the end (right) list. Used only when EndCaptionTemplate is not provided.
EndCaptionTemplatenullRenderFragment

Defines the end caption template, which can be used to render a custom header or caption for the end (right) list.
ItemEndTemplatenullRenderFragment<ItemContext<TItem>>

Defines the template used to render items in the end (right) list.
ItemsnullList<TItem>

Provides the complete collection of items managed by the transfer list.
ItemsEndnullList<TItem>

Specifies the items displayed in the end (right) list.
ItemsStartnullList<TItem>

Specifies the items displayed in the start (left) list.
ItemStartTemplatenullRenderFragment<ItemContext<TItem>>

Defines the template used to render items in the start (left) list.
MaxHeight"300px"string

Sets the maximum height of each list pane. Defaults to 300px.
ModeSelectableListGroupMode

Specifies how the list groups behave (e.g., selectable, static).
Possible values:StaticSelectable
MoveAllToEndIconNameChevronDoubleRightIconName?

Specifies the icon name of the move all to end (right) button.
MoveAllToStartIconNameChevronDoubleLeftIconName?

Specifies the icon name of the move all to start (left) button.
MoveButtonsColorPrimaryColor

Specifies the color of the move and "Move All" buttons.
MoveButtonsIconSizenullIconSize?

Specifies the size of the move icons.
MoveButtonsIconStylenullIconStyle?

Specifies the style of the move icons.
MoveButtonsIconTextColornullTextColor

Specifies the text color of the move icons.
MoveToEndIconNameChevronRightIconName?

Specifies the icon name of the move to end (right) button.
MoveToStartIconNameChevronLeftIconName?

Specifies the icon name of the move to start (left) button.
Scrollabletruebool

Enables a vertical scrollbar when the list exceeds the maximum height.
SelectedItemEndnullTItem

Specifies the currently selected item in the end (right) list.
SelectedItemsEndnullList<TItem>

Specifies the currently selected items in the end (right) list for multi-selection mode.
SelectedItemsStartnullList<TItem>

Specifies the currently selected items in the start (left) list for multi-selection mode.
SelectedItemStartnullTItem

Specifies the currently selected item in the start (left) list.
SelectionModeSingleListGroupSelectionMode

Specifies how many items can be selected at once in each list.
Possible values:SingleMultiple
ShowCaptionsfalsebool

Determines whether the captions are visible above the lists.
ShowMoveAlltruebool

Determines whether the "Move All" buttons are visible between lists.
StartCaption"Start"string

Specifies the start caption text for the start (left) list. Used only when StartCaptionTemplate is not provided.
StartCaptionTemplatenullRenderFragment

Defines the start caption template, which can be used to render a custom header or caption for the start (left) list.

Events

EventType
CanMoveToEndFunc<TItem, bool>

Determines whether a specific item can be moved to the end (right) list.
CanMoveToStartFunc<TItem, bool>

Determines whether a specific item can be moved to the start (left) list.
ItemsEndChangedEventCallback<List<TItem>>

Event callback triggered when the end list items change.
ItemsStartChangedEventCallback<List<TItem>>

Event callback triggered when the start list items change.
SelectedItemEndChangedEventCallback<TItem>

Event callback triggered when the selected item in the end list changes.
SelectedItemsEndChangedEventCallback<List<TItem>>

Event callback triggered when the selected items in the end list change.
SelectedItemsStartChangedEventCallback<List<TItem>>

Event callback triggered when the selected items in the start list change.
SelectedItemStartChangedEventCallback<TItem>

Event callback triggered when the selected item in the start list changes.
TextFieldFunc<TItem, string>

Function used to extract the display text field from an item.
ValueFieldFunc<TItem, string>

Function used to extract the unique value field from an item.

Methods

MethodReturnParameters
MoveAllEndTask—

Moves all eligible items from the start (left) list to the end (right) list.
MoveAllStartTask—

Moves all eligible items from the end (right) list to the start (left) list.
MoveSelectedEndTask—

Moves the currently selected item(s) from the start (left) list to the end (right) list, based on SelectionMode.
MoveSelectedStartTask—

Moves the currently selected item(s) from the end (right) list to the start (left) list, based on SelectionMode.