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

Parameter Description TypeDefault
ChildContent

Defines the component child content.

RenderFragmentnull
Flush

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

boolfalse
Mode

Specifies the list-group behavior mode.

Possible values:Static, Selectable

ListGroupModeListGroupMode.Static
Scrollable

Makes the list group scrollable by adding a vertical scrollbar.

boolfalse
SelectedItem

Specifies the currently selected item name.

string
SelectedItems

Specifies the currently selected items names.

List<string>null
SelectionMode

Specifies the list-group selection mode.

Possible values:Single, Multiple

ListGroupSelectionModeListGroupSelectionMode.Single

ListGroupItem

Parameter Description TypeDefault
ChildContent

Specifies the content to be rendered inside this ListGroupItem.

RenderFragmentnull
Color

Specifies the list-group-item color.

ColorColor.Default
Disabled

Makes the item to make it appear disabled.

boolfalse
Intent

Specifies the list-group-item intent.

Intentnull
Name

Specifies the item name.

string

Events

ListGroup

Event Description Type
SelectedItemChanged

An event raised when SelectedItem is changed.

EventCallback<string>
SelectedItemsChanged

An event raised when SelectedItems are changed.

EventCallback<List<string>>

ListGroupItem

Event Description Type
Clicked

Notifies when the item is clicked.

EventCallback<MouseEventArgs>

Methods

ListGroup

Method DescriptionReturnParameters
SelectItem Sets the active item by the name. Taskstring name
On this page