Skip to main content

DxAccordion.SubItemExpandButtonIconCssClass Property

Specifies the CSS class name for a subitem’s Expand button icon.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(null)]
[Parameter]
public string SubItemExpandButtonIconCssClass { get; set; }

Property Value

Type Default Description
String null

The CSS class name.

Remarks

Use the SubItemExpandButtonIconCssClass and SubItemCollapseButtonIconCssClass properties to specify the CSS classes for expand and collapse buttons.

The following code snippet assigns an icon to the expand button:

<DxAccordion SubItemExpandButtonIconCssClass="oi oi-plus">
    <Items>
        <DxAccordionItem Text="Grid" />
        <DxAccordionItem Text="Navigation and Layout">
            <Items>
                <DxAccordionItem Text="Accordion">
                    <Items>
                        <DxAccordionItem Text="API" />
                        <DxAccordionItem Text="Demos" />
                        <DxAccordionItem Text="Documents" />
                    </Items>
                </DxAccordionItem>
                <DxAccordionItem Text="Stack Layout" />
            </Items>
        </DxAccordionItem>
        <DxAccordionItem Text="Data Editors" />
        <DxAccordionItem Text="Scheduler" />
    </Items>
</DxAccordion>

SubItem Icon

See Also