RayCraftDocs
v1.0.3 raycraft.dev
On this page

TransferList

Free

Two lists with buttons for moving items between them, for choosing a subset from a long list. The chosen items keep the order of the source list.

Example

TransferList control

Parameters

ParameterTypeDescription
ClassstringExtra CSS classes added to the root element.
ItemsIEnumerable<TItem>All items.
ItemTextFunc<TItem, string>Converts an item to its display text (defaults to ToString()).
LabelstringVisible label text (charts: accessible name; IconButton: accessible name and tooltip).
SourceTitlestringHeading of the left list.
StylestringInline style added to the root element.
TargetTitlestringHeading of the right list.
ValuesIReadOnlyCollection<TItem>The chosen items. Use with @bind-Values.

Events

EventTypeDescription
ValuesChangedEventCallback<IReadOnlyCollection<TItem>>Raised when the chosen items change.

Package

TransferList is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.