Blazorise List Group API

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

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

API

Parameters

ListGroup

ParameterDefaultType
ChildContentnullRenderFragment

Defines the component child content.
Flushfalsebool

Remove some borders and rounded corners to render list group items edge-to-edge in a parent container (e.g., cards).
ModeListGroupMode.StaticListGroupMode

Specifies the list-group behavior mode.
Possible values:StaticSelectable
Scrollablefalsebool

Makes the list group scrollable by adding a vertical scrollbar.
SelectedItem—string

Specifies the currently selected item name.
SelectedItemsnullList<string>

Specifies the currently selected items names.
SelectionModeListGroupSelectionMode.SingleListGroupSelectionMode

Specifies the list-group selection mode.
Possible values:SingleMultiple

ListGroupItem

ParameterDefaultType
ChildContentnullRenderFragment

Specifies the content to be rendered inside this ListGroupItem.
ColorColor.DefaultColor

Specifies the list-group-item color.
Disabledfalsebool

Makes the item to make it appear disabled.
IntentnullIntent

Specifies the list-group-item intent.
Name—string

Specifies the item name.

Events

ListGroup

EventType
SelectedItemChangedEventCallback<string>

An event raised when SelectedItem is changed.
SelectedItemsChangedEventCallback<List<string>>

An event raised when SelectedItems are changed.

ListGroupItem

EventType
ClickedEventCallback<MouseEventArgs>

Notifies when the item is clicked.

Methods

ListGroup

MethodReturnParameters
SelectItemTaskstring name

Sets the active item by the name.