Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenAutoComplete

    RadzenAutoComplete component.

    Inheritance
    object
    ComponentBase
    RadzenComponent
    DataBoundFormComponent<string>
    RadzenAutoComplete
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    IRadzenFormComponent
    Inherited Members
    DataBoundFormComponent<string>._view
    DataBoundFormComponent<string>.OnDataChanged()
    DataBoundFormComponent<string>.GetValue()
    DataBoundFormComponent<string>.GetClassList(string)
    DataBoundFormComponent<string>.OnContextMenu(MouseEventArgs)
    DataBoundFormComponent<string>.TabIndex
    DataBoundFormComponent<string>.FilterCaseSensitivity
    DataBoundFormComponent<string>.FilterOperator
    DataBoundFormComponent<string>.Name
    DataBoundFormComponent<string>.Placeholder
    DataBoundFormComponent<string>.Disabled
    DataBoundFormComponent<string>.Change
    DataBoundFormComponent<string>.LoadData
    DataBoundFormComponent<string>.Form
    DataBoundFormComponent<string>.Value
    DataBoundFormComponent<string>.ValueChanged
    DataBoundFormComponent<string>.IsBound
    DataBoundFormComponent<string>.HasValue
    DataBoundFormComponent<string>.TextProperty
    DataBoundFormComponent<string>.Data
    DataBoundFormComponent<string>.SearchText
    DataBoundFormComponent<string>.SearchTextChanged
    DataBoundFormComponent<string>.EditContext
    DataBoundFormComponent<string>.FieldIdentifier
    DataBoundFormComponent<string>.ValueExpression
    DataBoundFormComponent<string>.FormFieldContext
    DataBoundFormComponent<string>.CurrentPlaceholder
    RadzenComponent.OnMouseEnter()
    RadzenComponent.OnMouseLeave()
    RadzenComponent.GetCssClass()
    RadzenComponent.GetId()
    RadzenComponent.Debounce(Func<Task>, int)
    RadzenComponent.OnInitialized()
    RadzenComponent.RaiseContextMenu(MouseEventArgs)
    RadzenComponent.RaiseMouseEnter()
    RadzenComponent.RaiseMouseLeave()
    RadzenComponent.Attributes
    RadzenComponent.Element
    RadzenComponent.MouseEnter
    RadzenComponent.MouseLeave
    RadzenComponent.ContextMenu
    RadzenComponent.Culture
    RadzenComponent.DefaultCulture
    RadzenComponent.Style
    RadzenComponent.Visible
    RadzenComponent.UniqueID
    RadzenComponent.JSRuntime
    RadzenComponent.IsJSRuntimeAvailable
    RadzenComponent.Reference
    RadzenComponent.CurrentStyle
    ComponentBase.OnInitializedAsync()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.StateHasChanged()
    ComponentBase.ShouldRender()
    ComponentBase.OnAfterRender(bool)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.DispatchExceptionAsync(Exception)
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Radzen.Blazor
    Assembly: Radzen.Blazor.dll
    Syntax
    public class RadzenAutoComplete : DataBoundFormComponent<string>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable, IRadzenFormComponent
    Examples
    <RadzenAutoComplete Data=@customers TextProperty="CompanyName" Change=@(args => Console.WriteLine($"Selected text: {args}")) />

    Constructors

    RadzenAutoComplete()

    RadzenAutoComplete component.

    Declaration
    public RadzenAutoComplete()
    Examples
    <RadzenAutoComplete Data=@customers TextProperty="CompanyName" Change=@(args => Console.WriteLine($"Selected text: {args}")) />

    Fields

    list

    Gets list element reference.

    Declaration
    protected ElementReference list
    Field Value
    Type Description
    ElementReference

    search

    Gets search input reference.

    Declaration
    protected ElementReference search
    Field Value
    Type Description
    ElementReference

    Properties

    FilterDelay

    Gets or sets the filter delay.

    Declaration
    [Parameter]
    public int FilterDelay { get; set; }
    Property Value
    Type Description
    int

    The filter delay.

    InputAttributes

    Specifies additional custom attributes that will be rendered by the input.

    Declaration
    [Parameter]
    public IReadOnlyDictionary<string, object> InputAttributes { get; set; }
    Property Value
    Type Description
    IReadOnlyDictionary<string, object>

    The attributes.

    InputType

    Gets or sets the underlying input type.

    Declaration
    [Parameter]
    public string InputType { get; set; }
    Property Value
    Type Description
    string

    The input type.

    Remarks

    This does not apply when Multiline is true.

    MaxLength

    Gets or sets the underlying max length.

    Declaration
    [Parameter]
    public long? MaxLength { get; set; }
    Property Value
    Type Description
    long?

    The max length value.

    MinLength

    Gets or sets the minimum length.

    Declaration
    [Parameter]
    public int MinLength { get; set; }
    Property Value
    Type Description
    int

    The minimum length.

    Multiline

    Gets or sets a value indicating whether this RadzenAutoComplete is multiline.

    Declaration
    [Parameter]
    public bool Multiline { get; set; }
    Property Value
    Type Description
    bool

    true if multiline; otherwise, false.

    OpenOnFocus

    Gets or sets a value indicating whether popup should open on focus. Set to false by default.

    Declaration
    [Parameter]
    public bool OpenOnFocus { get; set; }
    Property Value
    Type Description
    bool

    true if popup should open on focus; otherwise, false.

    PopupStyle

    Gets or sets the Popup height.

    Declaration
    [Parameter]
    public string PopupStyle { get; set; }
    Property Value
    Type Description
    string

    The number Popup height.

    Query

    Gets the IQueryable.

    Declaration
    protected override IQueryable Query { get; }
    Property Value
    Type Description
    IQueryable

    The IQueryable.

    Overrides
    DataBoundFormComponent<string>.Query

    SelectedItem

    Gets or sets the selected item.

    Declaration
    [Parameter]
    public object SelectedItem { get; set; }
    Property Value
    Type Description
    object

    The selected item.

    SelectedItemChanged

    Gets or sets the selected item changed.

    Declaration
    [Parameter]
    public EventCallback<object> SelectedItemChanged { get; set; }
    Property Value
    Type Description
    EventCallback<object>

    The selected item changed.

    Template

    Gets or sets the template.

    Declaration
    [Parameter]
    public RenderFragment<dynamic> Template { get; set; }
    Property Value
    Type Description
    RenderFragment<dynamic>

    The template.

    View

    Gets the view - the Query with filtering applied.

    Declaration
    protected override IEnumerable View { get; }
    Property Value
    Type Description
    IEnumerable

    The view.

    Overrides
    DataBoundFormComponent<string>.View

    Methods

    BuildRenderTree(RenderTreeBuilder)

    RadzenAutoComplete component.

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    Dispose()

    Disposes this instance.

    Declaration
    public override void Dispose()
    Overrides
    DataBoundFormComponent<string>.Dispose()

    FocusAsync()

    Sets the focus on the input element.

    Declaration
    public override ValueTask FocusAsync()
    Returns
    Type Description
    ValueTask
    Overrides
    DataBoundFormComponent<string>.FocusAsync()

    GetComponentCssClass()

    Gets the component CSS class.

    Declaration
    protected override string GetComponentCssClass()
    Returns
    Type Description
    string
    Overrides
    RadzenComponent.GetComponentCssClass()

    OnAfterRenderAsync(bool)

    Called on after render asynchronous.

    Declaration
    protected override Task OnAfterRenderAsync(bool firstRender)
    Parameters
    Type Name Description
    bool firstRender

    if set to true is first render.

    Returns
    Type Description
    Task

    Task.

    Overrides
    RadzenComponent.OnAfterRenderAsync(bool)

    OnChange(ChangeEventArgs)

    Handles the Change event.

    Declaration
    protected Task OnChange(ChangeEventArgs args)
    Parameters
    Type Name Description
    ChangeEventArgs args

    The ChangeEventArgs instance containing the event data.

    Returns
    Type Description
    Task

    OnFilterKeyPress(KeyboardEventArgs)

    Handles the FilterKeyPress event.

    Declaration
    protected Task OnFilterKeyPress(KeyboardEventArgs args)
    Parameters
    Type Name Description
    KeyboardEventArgs args

    The KeyboardEventArgs instance containing the event data.

    Returns
    Type Description
    Task

    SetParametersAsync(ParameterView)

    Set parameters as an asynchronous operation.

    Declaration
    public override Task SetParametersAsync(ParameterView parameters)
    Parameters
    Type Name Description
    ParameterView parameters

    The parameters.

    Returns
    Type Description
    Task

    A Task representing the asynchronous operation.

    Overrides
    DataBoundFormComponent<string>.SetParametersAsync(ParameterView)

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    IRadzenFormComponent

    Introducing Radzen Blazor Studio

    Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.

    Learn More

    Download Now
    Download Now
    In This Article
    Back to top Radzen Blazor Components, © 2018-2025 Radzen. Source Code licensed under MIT