menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class AccordionEvents - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class AccordionEvents

    Provides event handlers for the SfAccordion component.

    Inheritance
    System.Object
    AccordionEvents
    Namespace: Syncfusion.Blazor.Navigations
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class AccordionEvents : ComponentBase

    Constructors

    AccordionEvents()

    Declaration
    public AccordionEvents()

    Properties

    Clicked

    Triggers an event when clicking anywhere within the SfAccordion component.

    Declaration
    public EventCallback<AccordionClickArgs> Clicked { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.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
    public EventCallback<CollapsedEventArgs> Collapsed { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<CollapsedEventArgs>

    An event callback function.

    Collapsing

    Triggers before the AccordionItem is collapsed.

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

    An event callback function.

    Created

    Triggers after the SfAccordion component is created.

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

    An event callback function.

    Destroyed

    Triggers after the SfAccordion component is destroyed.

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

    An event callback function.

    Expanded

    Triggers after the AccordionItem is expanded.

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

    An event callback function.

    Expanding

    Triggers before the AccordionItem is expanded.

    Declaration
    public EventCallback<ExpandEventArgs> Expanding { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.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
    System.Threading.Tasks.Task

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

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved