Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenAutoComplete

    RadzenAutoComplete component.

    Inheritance
    System.Object
    RadzenComponent
    DataBoundFormComponent<System.String>
    RadzenAutoComplete
    Implements
    IDisposable
    IRadzenFormComponent
    Inherited Members
    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>.OnDataChanged()
    DataBoundFormComponent<String>.SearchText
    DataBoundFormComponent<String>.SearchTextChanged
    DataBoundFormComponent<String>._view
    DataBoundFormComponent<String>.EditContext
    DataBoundFormComponent<String>.FieldIdentifier
    DataBoundFormComponent<String>.ValueExpression
    DataBoundFormComponent<String>.GetValue()
    DataBoundFormComponent<String>.GetClassList(String)
    DataBoundFormComponent<String>.FormFieldContext
    DataBoundFormComponent<String>.CurrentPlaceholder
    DataBoundFormComponent<String>.OnContextMenu(MouseEventArgs)
    RadzenComponent.Attributes
    RadzenComponent.Element
    RadzenComponent.MouseEnter
    RadzenComponent.MouseLeave
    RadzenComponent.ContextMenu
    RadzenComponent.Culture
    RadzenComponent.DefaultCulture
    RadzenComponent.OnMouseEnter()
    RadzenComponent.OnMouseLeave()
    RadzenComponent.OnContextMenu(Microsoft.AspNetCore.Components.Web.MouseEventArgs)
    RadzenComponent.Style
    RadzenComponent.Visible
    RadzenComponent.GetCssClass()
    RadzenComponent.GetId()
    RadzenComponent.Debounce(Func<Task>, Int32)
    RadzenComponent.UniqueID
    RadzenComponent.JSRuntime
    RadzenComponent.IsJSRuntimeAvailable
    RadzenComponent.OnInitialized()
    RadzenComponent.Reference
    RadzenComponent.RaiseContextMenu(Microsoft.AspNetCore.Components.Web.MouseEventArgs)
    RadzenComponent.RaiseMouseEnter()
    RadzenComponent.RaiseMouseLeave()
    RadzenComponent.CurrentStyle
    Namespace: Radzen.Blazor
    Assembly: Radzen.Blazor.dll
    Syntax
    public class RadzenAutoComplete : DataBoundFormComponent<string>, IDisposable, IRadzenFormComponent
    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
    public int FilterDelay { get; set; }
    Property Value
    Type Description
    System.Int32

    The filter delay.

    InputAttributes

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

    Declaration
    public IReadOnlyDictionary<string, object> InputAttributes { get; set; }
    Property Value
    Type Description
    IReadOnlyDictionary<System.String, System.Object>

    The attributes.

    InputType

    Gets or sets the underlying input type.

    Declaration
    public string InputType { get; set; }
    Property Value
    Type Description
    System.String

    The input type.

    Remarks

    This does not apply when Multiline is true.

    MaxLength

    Gets or sets the underlying max length.

    Declaration
    public long? MaxLength { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    The max length value.

    MinLength

    Gets or sets the minimum length.

    Declaration
    public int MinLength { get; set; }
    Property Value
    Type Description
    System.Int32

    The minimum length.

    Multiline

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

    Declaration
    public bool Multiline { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if multiline; otherwise, false.

    OpenOnFocus

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

    Declaration
    public bool OpenOnFocus { get; set; }
    Property Value
    Type Description
    System.Boolean

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

    PopupStyle

    Gets or sets the Popup height.

    Declaration
    public string PopupStyle { get; set; }
    Property Value
    Type Description
    System.String

    The number Popup height.

    Query

    Gets the IQueryable.

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

    The IQueryable.

    Overrides
    Radzen.DataBoundFormComponent<System.String>.Query

    SelectedItem

    Gets or sets the selected item.

    Declaration
    public object SelectedItem { get; set; }
    Property Value
    Type Description
    System.Object

    The selected item.

    SelectedItemChanged

    Gets or sets the selected item changed.

    Declaration
    public EventCallback<object> SelectedItemChanged { get; set; }
    Property Value
    Type Description
    EventCallback<System.Object>

    The selected item changed.

    Template

    Gets or sets the template.

    Declaration
    public RenderFragment<dynamic> Template { get; set; }
    Property Value
    Type Description
    RenderFragment<System.Object>

    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
    Radzen.DataBoundFormComponent<System.String>.View

    Methods

    Dispose()

    Disposes this instance.

    Declaration
    public override void Dispose()
    Overrides
    Radzen.DataBoundFormComponent<System.String>.Dispose()

    FocusAsync()

    Sets the focus on the input element.

    Declaration
    public override async ValueTask FocusAsync()
    Returns
    Type Description
    ValueTask
    Overrides
    Radzen.DataBoundFormComponent<System.String>.FocusAsync()

    GetComponentCssClass()

    Gets the component CSS class.

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

    OnAfterRenderAsync(Boolean)

    Called on after render asynchronous.

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

    if set to true is first render.

    Returns
    Type Description
    Task

    Task.

    Overrides
    RadzenComponent.OnAfterRenderAsync(Boolean)

    OnChange(ChangeEventArgs)

    Handles the Change event.

    Declaration
    protected async Threading.Tasks.Task OnChange(ChangeEventArgs args)
    Parameters
    Type Name Description
    ChangeEventArgs args

    The instance containing the event data.

    Returns
    Type Description
    System.Threading.Tasks.Task

    OnFilterKeyPress(KeyboardEventArgs)

    Handles the FilterKeyPress event.

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

    The instance containing the event data.

    Returns
    Type Description
    Task

    SetParametersAsync(ParameterView)

    Set parameters as an asynchronous operation.

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

    The parameters.

    Returns
    Type Description
    Task

    A Task representing the asynchronous operation.

    Overrides
    Radzen.DataBoundFormComponent<System.String>.SetParametersAsync(ParameterView)

    Implements

    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