Class MultiSelectComponent<T, TListElement>
A DRY inspired abstract class providing MBSelect<TItem> and MBRadioButtonGroup<TItem> with validation.
Implements
Inherited Members
Namespace: Material.Blazor.Internal
Assembly: Material.Blazor.dll
Syntax
public abstract class MultiSelectComponent<T, TListElement> : InputComponent<IList<T>>, IDisposable where TListElement : MBSelectElement<T>
Type Parameters
Name | Description |
---|---|
T | |
TListElement |
Properties
| Improve this Doc View SourceGetKeysFunc
A function delegate to return the parameters for @key
attributes. If unused
"fake" keys set to GUIDs will be used.
Declaration
public Func<T, object> GetKeysFunc { get; set; }
Property Value
Type | Description |
---|---|
Func<T, Object> |
IconFoundry
The foundry to use for both leading and trailing icons.
IconFoundry="IconHelper.MIIcon()"
IconFoundry="IconHelper.FAIcon()"
IconFoundry="IconHelper.OIIcon()"
Overrides IconFoundryName
Declaration
public IMBIconFoundry IconFoundry { get; set; }
Property Value
Type | Description |
---|---|
IMBIconFoundry |
Items
The item list to be represented as radio buttons
Declaration
public IEnumerable<TListElement> Items { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<TListElement> |
Methods
| Improve this Doc View SourceOnParametersSetAsync()
Declaration
protected override async Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
Task |
Overrides
Material.Blazor.Internal.InputComponent<System.Collections.Generic.IList<T>>.OnParametersSetAsync()