Class TelerikMultiSelect<TItem, TValue>
The class for the Telerik MultiSelect component.
Inheritance
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikMultiSelect<TItem, TValue> : TelerikSelectBase<TItem, List<TValue>>, IDisposable
Type Parameters
TItem
|
TValue
|
Constructors
TelerikMultiSelect()
Declaration
public TelerikMultiSelect()
Properties
AutoClose
Controls whether to close the component suggestion list on item selection.
Declaration
public bool AutoClose { get; set; }
Property Value
System.Boolean
|
ClearButton
Defines whether to render a clear button in the MultiSelect. Clear Button is displayed on hover when the MultiSelect has value.
Declaration
public bool ClearButton { get; set; }
Property Value
System.Boolean
|
Filterable
Defines whether data should be filtered on typing in the MultiSelect. The data will be filtered based on the TextField.
Declaration
public bool Filterable { get; set; }
Property Value
System.Boolean
|
FilterOperator
Defines the filter operator. Default value is StringFilterOperator.StartsWidth.
Declaration
public StringFilterOperator FilterOperator { get; set; }
Property Value
StringFilterOperator
|
MinLength
Defines minimum number of characters in the input before suggestions are displayed. Default value is 0.
Declaration
public int MinLength { get; set; }
Property Value
System.Int32
|
OnRead
Fires when the data source is read. Use this to attach your own filtering logic. Once attached, you must implement all such data source operations here, the Component will no longer perform them for you.
Declaration
public EventCallback<MultiSelectReadEventArgs> OnRead { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<MultiSelectReadEventArgs>
|
Placeholder
The hint that is shown if no there is no value.
Declaration
public string Placeholder { get; set; }
Property Value
System.String
|
TextField
Defines the TextField of the Data. Default value: "Text".
Declaration
public override string TextField { get; set; }
Property Value
System.String
|
Overrides
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
OnAfterRenderAsync(Boolean)
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
System.Boolean
firstRender
|
Returns
System.Threading.Tasks.Task
|
Overrides
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
System.Threading.Tasks.Task
|