Skip to main content
All docs
V25.1
  • DxAccordion.Visible Property

    Specifies the Accordion component’s visibility.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    [DefaultValue(true)]
    [Parameter]
    public bool Visible { get; set; }

    Property Value

    Type Default Description
    Boolean true

    true to display the component; false to hide the component.

    Remarks

    Set the Visible property to false to hide an Accordion component:

    <DxAccordion Visible="false">
        <Items>
            <DxAccordionItem Text="Shapes">
                <Items>
                    <DxAccordionItem Text="Circle" />
                    <DxAccordionItem Text="Triangle" />
                    <DxAccordionItem Text="Square" />
                </Items>
            </DxAccordionItem>
            <DxAccordionItem Text="Templates" />
        </Items>
    </DxAccordion>
    

    To make the Accordion non-interactive but still visible, set the Enabled property to false.

    See Also