Class MBListItem
This is a general purpose Material Theme list item.
Implements
Inherited Members
Namespace: Material.Blazor
Assembly: Material.Blazor.dll
Syntax
public class MBListItem : ComponentFoundation, IDisposable
Properties
| Improve this Doc View SourceIconFoundry
The foundry to use for both leading and trailing icons.
IconFoundry="IconHelper.MIIcon()"
IconFoundry="IconHelper.FAIcon()"
IconFoundry="IconHelper.OIIcon()"
Overrides IconFoundryName
Overrides IconFoundryName
Declaration
public IMBIconFoundry IconFoundry { get; set; }
Property Value
Type | Description |
---|---|
IMBIconFoundry |
IsSelectedMenuItem
Determined whether the list item is in an menu and is in the selected state
Declaration
public bool IsSelectedMenuItem { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Label
The list item's label
Declaration
public string Label { get; set; }
Property Value
Type | Description |
---|---|
String |
LeadingIcon
The leading icon's name. No leading icon shown if not set.
Declaration
public string LeadingIcon { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceOnInitializedAsync()
Declaration
protected override async Task OnInitializedAsync()
Returns
Type | Description |
---|---|
Task |