DxAccordion.RootItemExpandButtonIconCssClass Property
Specifies the CSS class name for a root item’s Expand button icon.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(null)]
[Parameter]
public string RootItemExpandButtonIconCssClass { get; set; }
Property Value
Type | Default | Description |
---|---|---|
String | null | The CSS class name. |
Remarks
Use the RootItemExpandButtonIconCssClass
and RootItemCollapseButtonIconCssClass properties to specify the CSS classes for expand and collapse buttons.
The following code snippet assigns an Open Iconic icon to the expand button:
<DxAccordion RootItemExpandButtonIconCssClass="oi oi-arrow-thick-bottom">
<Items>
<DxAccordionItem Text="Grid" />
<DxAccordionItem Text="Navigation and Layout"
NavigateUrl="https://demos.devexpress.com/blazor/Navigation">
<Items>
<DxAccordionItem Text="Accordion" />
<DxAccordionItem Text="Stack Layout" />
</Items>
</DxAccordionItem>
<DxAccordionItem Text="Data Editors" NavigateUrl="https://demos.devexpress.com/blazor/Editors" />
<DxAccordionItem Text="Scheduler" NavigateUrl="https://demos.devexpress.com/blazor/Scheduler" />
</Items>
</DxAccordion>
See Also