Class TelerikAutoComplete<TItem>
The class for the Telerik AutoComplete component.
Inheritance
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikAutoComplete<TItem> : TelerikSelectBase<TItem, string>, IDisposable
Type Parameters
TItem
|
Constructors
TelerikAutoComplete()
Declaration
public TelerikAutoComplete()
Properties
ClearButton
Defines whether to render a clear button in the AutoComplete. Clear Button is displayed on hover when the AutoComplete has value.
Declaration
public bool ClearButton { get; set; }
Property Value
System.Boolean
|
Filterable
Defines whether data should be filtered on typing in the AutoComplete. 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.
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<AutoCompleteReadEventArgs> OnRead { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<AutoCompleteReadEventArgs>
|
Placeholder
The hint that is shown if no there is no value.
Declaration
public string Placeholder { get; set; }
Property Value
System.String
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
HandleEscapeKeyAsync()
Declaration
protected override Task HandleEscapeKeyAsync()
Returns
System.Threading.Tasks.Task
|
Overrides
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
|