DxAccordionItem.IconUrl Property
Specifies the Accordion item’s icon URL.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(null)]
[Parameter]
public string IconUrl { get; set; }
Property Value
Type | Default | Description |
---|---|---|
String | null | The icon URL. |
Remarks
The following code snippet specifies an icon URL for an Accordion item:
<DxAccordion>
<Items>
<DxAccordionItem Text="Grid" NavigateUrl="https://demos.devexpress.com/blazor/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" IconUrl="/open-iconic-master/svg/calendar.svg" NavigateUrl="https://demos.devexpress.com/blazor/Scheduler" />
</Items>
</DxAccordion>
Refer to the following topic for more information: Icons.
See Also