Skip to main content
All docs
V25.1
  • DxAccordionItem.Expanded Property

    Specifies whether the item is expanded.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    [DefaultValue(false)]
    [Parameter]
    public bool Expanded { get; set; }

    Property Value

    Type Default Description
    Boolean false

    true if the item is expanded; otherwise, false.

    Remarks

    Use the Expanded property to expand or collapse the item. Handle the ExpandedChanged to react to state changes.

    <DxAccordion>
        <Items>
            <DxAccordionItem Text="Grid" />
            <DxAccordionItem Text="Navigation and Layout" Expanded="true">
                <Items>
                    <DxAccordionItem Text="Accordion" />
                    <DxAccordionItem Text="Stack Layout" />
                </Items>
            </DxAccordionItem>
            <DxAccordionItem Text="Data Editors" />
            <DxAccordionItem Text="Scheduler" />
        </Items>
    </DxAccordion>
    

    Accordion: expand item

    See Also