alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class AccordionEvents

    Provides event handlers for the SfAccordion component.

    Inheritance
    object
    ComponentBase
    AccordionEvents
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Navigations
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class AccordionEvents : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender

    Constructors

    AccordionEvents()

    Declaration
    public AccordionEvents()

    Properties

    Clicked

    Triggers an event when clicking anywhere within the SfAccordion component.

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

    An event callback function.

    Remarks

    The event arguments contain information about the clicked item, including the AccordionItemModel.

    Collapsed

    Triggers after the AccordionItem is collapsed.

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

    An event callback function.

    Collapsing

    Triggers before the AccordionItem is collapsed.

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

    An event callback function.

    Created

    Triggers after the SfAccordion component is created.

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

    An event callback function.

    Destroyed

    Triggers after the SfAccordion component is destroyed.

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

    An event callback function.

    Expanded

    Triggers after the AccordionItem is expanded.

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

    An event callback function.

    Expanding

    Triggers before the AccordionItem is expanded.

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

    An event callback function.

    Methods

    OnInitializedAsync()

    Method invoked when the component is ready to start.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    Task

    A System.Threading.Tasks.Task representing any asynchronous operation.

    Overrides
    ComponentBase.OnInitializedAsync()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved