Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenListBox<TValue>

    RadzenListBox component.

    Inheritance
    System.Object
    RadzenComponent
    DataBoundFormComponent<TValue>
    DropDownBase<TValue>
    RadzenListBox<TValue>
    Implements
    IDisposable
    IRadzenFormComponent
    Inherited Members
    DropDownBase<TValue>.VirtualizationOverscanCount
    DropDownBase<TValue>.Virtualize
    DropDownBase<TValue>.Count
    DropDownBase<TValue>.AllowVirtualization
    DropDownBase<TValue>.PageSize
    DropDownBase<TValue>.HasValue
    DropDownBase<TValue>.HeaderTemplate
    DropDownBase<TValue>.AllowFiltering
    DropDownBase<TValue>.FilterAsYouType
    DropDownBase<TValue>.AllowClear
    DropDownBase<TValue>.Multiple
    DropDownBase<TValue>.AllowSelectAll
    DropDownBase<TValue>.Template
    DropDownBase<TValue>.ValueProperty
    DropDownBase<TValue>.DisabledProperty
    DropDownBase<TValue>.RemoveChipTitle
    DropDownBase<TValue>.SearchAriaLabel
    DropDownBase<TValue>.EmptyAriaLabel
    DropDownBase<TValue>.SelectedItemChanged
    DropDownBase<TValue>.selectedItems
    DropDownBase<TValue>.selectedItem
    DropDownBase<TValue>.Reset()
    DropDownBase<TValue>.ClearAll()
    DropDownBase<TValue>.Data
    DropDownBase<TValue>.OnParametersSet()
    DropDownBase<TValue>.GetItemOrValueFromProperty(Object, String)
    DropDownBase<TValue>.OnDataChanged()
    DropDownBase<TValue>.PopupID
    DropDownBase<TValue>.SearchID
    DropDownBase<TValue>.OpenPopupScript()
    DropDownBase<TValue>.OpenPopupScriptFromParent()
    DropDownBase<TValue>.FilterDelay
    DropDownBase<TValue>.search
    DropDownBase<TValue>.list
    DropDownBase<TValue>.selectedIndex
    DropDownBase<TValue>.OpenPopup(String, Boolean, Boolean)
    DropDownBase<TValue>.HandleKeyPress(Microsoft.AspNetCore.Components.Web.KeyboardEventArgs, Boolean, Nullable<Boolean>)
    DropDownBase<TValue>.OnFilterKeyPress(Microsoft.AspNetCore.Components.Web.KeyboardEventArgs)
    DropDownBase<TValue>.OnKeyPress(Microsoft.AspNetCore.Components.Web.KeyboardEventArgs, Nullable<Boolean>)
    DropDownBase<TValue>.OnSelectItem(Object, Boolean)
    DropDownBase<TValue>.OnFilter(ChangeEventArgs)
    DropDownBase<TValue>.OnInitialized()
    DropDownBase<TValue>.OnParametersSetAsync()
    DropDownBase<TValue>.OnChange(ChangeEventArgs)
    DropDownBase<TValue>.SelectedItem
    DropDownBase<TValue>.Separator
    DropDownBase<TValue>.Items
    DropDownBase<TValue>.View
    DropDownBase<TValue>.SelectItem(Object, Boolean)
    DropDownBase<TValue>.GetValue()
    DropDownBase<TValue>.SelectItemFromValue(Object)
    DropDownBase<TValue>.ItemComparer
    DropDownBase<TValue>.Dispose()
    DataBoundFormComponent<TValue>.TabIndex
    DataBoundFormComponent<TValue>.FilterCaseSensitivity
    DataBoundFormComponent<TValue>.FilterOperator
    DataBoundFormComponent<TValue>.Name
    DataBoundFormComponent<TValue>.Placeholder
    DataBoundFormComponent<TValue>.Disabled
    DataBoundFormComponent<TValue>.Change
    DataBoundFormComponent<TValue>.LoadData
    DataBoundFormComponent<TValue>.Form
    DataBoundFormComponent<TValue>.Value
    DataBoundFormComponent<TValue>.ValueChanged
    DataBoundFormComponent<TValue>.IsBound
    DataBoundFormComponent<TValue>.TextProperty
    DataBoundFormComponent<TValue>.Query
    DataBoundFormComponent<TValue>.SearchText
    DataBoundFormComponent<TValue>.SearchTextChanged
    DataBoundFormComponent<TValue>._view
    DataBoundFormComponent<TValue>.EditContext
    DataBoundFormComponent<TValue>.FieldIdentifier
    DataBoundFormComponent<TValue>.ValueExpression
    DataBoundFormComponent<TValue>.GetClassList(String)
    DataBoundFormComponent<TValue>.FocusAsync()
    DataBoundFormComponent<TValue>.FormFieldContext
    DataBoundFormComponent<TValue>.CurrentPlaceholder
    DataBoundFormComponent<TValue>.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.Reference
    RadzenComponent.RaiseContextMenu(Microsoft.AspNetCore.Components.Web.MouseEventArgs)
    RadzenComponent.RaiseMouseEnter()
    RadzenComponent.RaiseMouseLeave()
    RadzenComponent.CurrentStyle
    Namespace: Radzen.Blazor
    Assembly: Radzen.Blazor.dll
    Syntax
    public class RadzenListBox<TValue> : DropDownBase<TValue>, IDisposable, IRadzenFormComponent
    Type Parameters
    Name Description
    TValue

    The type of the value.

    Examples
    <RadzenListBox @bind-Value=@customerID TValue="string" Data=@customers TextProperty="CompanyName" ValueProperty="CustomerID" Change=@(args => Console.WriteLine($"Selected CustomerID: {args}")) />

    Properties

    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.

    ItemRender

    Gets or sets the row render callback. Use it to set row attributes.

    Declaration
    public Action<ListBoxItemRenderEventArgs<TValue>> ItemRender { get; set; }
    Property Value
    Type Description
    Action<ListBoxItemRenderEventArgs<TValue>>

    The row render callback.

    ReadOnly

    Gets or sets a value indicating whether is read only.

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

    true if is read only; otherwise, false.

    SelectAllText

    Gets or sets the select all text.

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

    The select all text.

    Methods

    GetComponentCssClass()

    Gets the component CSS class.

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

    OnAfterRenderAsync(Boolean)

    Called when [after render asynchronous].

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

    if set to true [first render].

    Returns
    Type Description
    Task

    Task.

    Overrides
    Radzen.DropDownBase<TValue>.OnAfterRenderAsync(System.Boolean)

    OnKeyDown(Microsoft.AspNetCore.Components.Web.KeyboardEventArgs)

    Handles the KeyDown event.

    Declaration
    protected async Threading.Tasks.Task OnKeyDown(Microsoft.AspNetCore.Components.Web.KeyboardEventArgs args)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Web.KeyboardEventArgs args

    The instance containing the event data.

    Returns
    Type Description
    System.Threading.Tasks.Task

    SelectAll()

    Selects all.

    Declaration
    protected override Task SelectAll()
    Returns
    Type Description
    Task
    Overrides
    Radzen.DropDownBase<TValue>.SelectAll()

    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.DropDownBase<TValue>.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