alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class AccordionAnimationSettings

    A class that represents the animations to appear on expand and collapse action of AccordionItem.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    AccordionAnimationSettings
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    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()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.Navigations
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class AccordionAnimationSettings : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
    Remarks

    AccordionAnimationExpand and AccordionAnimationCollapse can be used to set expand and collapse animation for accordion item respectively.

    Examples
    <SfAccordion>
        <AccordionAnimationSettings>
            <AccordionAnimationExpand Effect="AnimationEffect.FadeIn" Duration="500"></AccordionAnimationExpand>
            <AccordionAnimationCollapse Effect="AnimationEffect.FadeOut" Duration="500"></AccordionAnimationCollapse>
        </AccordionAnimationSettings>
    </SfAccordion>

    Constructors

    AccordionAnimationSettings()

    Declaration
    public AccordionAnimationSettings()

    Properties

    ChildContent

    Gets or sets the Child Content for the Accordion Animation Settings.

    Declaration
    [Parameter]
    [JsonIgnore]
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type
    RenderFragment

    Collapse

    Gets or sets the animation to appear while collapsing the AccordionItem.

    Declaration
    public AccordionAnimationCollapse Collapse { get; set; }
    Property Value
    Type Description
    AccordionAnimationCollapse

    If we set the collapse animation, then the provided AccordionAnimationCollapse value is applied for collapse action, otherwise the default null value is set.

    Expand

    Gets or sets the animation to appear while expanding the AccordionItem.

    Declaration
    public AccordionAnimationExpand Expand { get; set; }
    Property Value
    Type Description
    AccordionAnimationExpand

    If we set the expand animation, then the provided AccordionAnimationExpand value is applied for expand action, otherwise the default null value is set.

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    Dispose(bool)

    Dispose unmanaged resources in the Syncfusion Blazor component.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    Boolean value to dispose the object.

    Overrides
    OwningComponentBase.Dispose(bool)

    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
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved