MudList API

Pages
Properties
Name Type Default Description
Behavior
ChildContent
RenderFragment
null Child content of component.
Disabled
bool
False If true, will disable the list item if it has onclick.
Selecting
Clickable
bool
False Set true to make the list items clickable. This is also the precondition for list selection to work.
SelectedItem
MudListItem
null The current selected list item. Note: make the list Clickable for item selection to work.
SelectedValue
object
null The current selected value. Note: make the list Clickable for item selection to work.
Appearance
Color
Color
Color.Primary The color of the selected List Item.
Dense
bool
False If true, compact vertical padding will be applied to all list items.
DisableGutters
bool
False If true, the left and right padding is removed on all list items.
DisablePadding
bool
False If true, vertical padding will be removed from the list.
Common
Class
string
null User class names, separated by space.
Style
string
null User styles, applied on top of the component's own classes and styles.
Tag
object
null Use Tag to attach any user data object to the component for your convenience.
UserAttributes
Dictionary<string, object>
UserAttributes carries all attributes you add to the component that don't match any of its parameters. They will be splatted onto the underlying HTML tag.
EventCallbacks
Name Type Description
SelectedItemChanged EventCallback<MudListItem> Called whenever the selection changed
SelectedValueChanged EventCallback<object> Called whenever the selection changed
Methods
Name Parameters Return Description
Dispose()

Copyright © 2020-2024 MudBlazor.

Powered by .NET 8.0.8

An error has occurred. This application may no longer respond until reloaded. Reload 🗙