Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ListBoxEvents<TValue, TItem> - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ListBoxEvents<TValue, TItem>

    Specifies the ListBox Events of the component.

    Inheritance
    System.Object
    Syncfusion.Blazor.SfBaseComponent
    ListBoxEvents<TValue, TItem>
    Namespace: Syncfusion.Blazor.DropDowns
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ListBoxEvents<TValue, TItem> : SfBaseComponent
    Type Parameters
    Name Description
    TValue
    TItem

    Constructors

    ListBoxEvents()

    Declaration
    public ListBoxEvents()

    Properties

    Created

    Triggers when the component is created.

    Declaration
    public EventCallback<object> Created { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<System.Object>

    DataBound

    Triggers when data source is populated in the list.

    Declaration
    public EventCallback<object> DataBound { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<System.Object>

    Destroyed

    Triggers when the component is destroyed.

    Declaration
    public EventCallback<object> Destroyed { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<System.Object>

    Dragging

    Triggers while dragging the list item.

    Declaration
    public EventCallback<DragEventArgs<TItem>> Dragging { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<DragEventArgs<TItem>>

    DragStart

    Triggers after dragging the list item.

    Declaration
    public EventCallback<DragEventArgs<TItem>> DragStart { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<DragEventArgs<TItem>>

    Dropped

    Triggers before dropping the list item on another list item.

    Declaration
    public EventCallback<DragEventArgs<TItem>> Dropped { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<DragEventArgs<TItem>>

    ItemSelected

    Triggers on typing a character in the component.

    Declaration
    public EventCallback<FilteringEventArgs> ItemSelected { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<FilteringEventArgs>

    OnActionBegin

    Triggers before fetching data from the remote server.

    Declaration
    public EventCallback<ActionBeginEventArgs> OnActionBegin { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<ActionBeginEventArgs>

    OnActionComplete

    Triggers after data is fetched successfully from the remote server.

    Declaration
    public EventCallback<ActionCompleteEventArgs<TItem>> OnActionComplete { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<ActionCompleteEventArgs<TItem>>

    OnActionFailure

    Triggers when the data fetch request from the remote server fails.

    Declaration
    public EventCallback<object> OnActionFailure { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<System.Object>

    OnDrop

    Triggers before dropping the list item on another list item.

    Declaration
    public EventCallback<DropEventArgs<TItem>> OnDrop { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<DropEventArgs<TItem>>

    OnItemRender

    Triggers while rendering each list item.

    Declaration
    public EventCallback<BeforeItemRenderEventArgs<TItem>> OnItemRender { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<BeforeItemRenderEventArgs<TItem>>

    Select

    Triggers when an item is selected by the user either with mouse/tap or with keyboard navigation.

    Declaration
    public EventCallback<SelectEventArgs> Select { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<SelectEventArgs>

    ValueChange

    Triggers while select / unselect the list item.

    Declaration
    public EventCallback<ListBoxChangeEventArgs<TValue, TItem>> ValueChange { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<ListBoxChangeEventArgs<TValue, TItem>>

    Methods

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    Syncfusion.Blazor.SfBaseComponent.OnInitializedAsync()
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved