For the RadzenPanelMenuItem is it possible to change the font it used. I have one where I need a custom icon. If it is possible how would I change the font it uses so I can reference the specific icon I need?
Thanks for any help.
For the RadzenPanelMenuItem is it possible to change the font it used. I have one where I need a custom icon. If it is possible how would I change the font it uses so I can reference the specific icon I need?
Thanks for any help.
Hi @shane-vorwerk,
You can set the class
of RadzenPanelMenuItem to assign a custom CSS class which can then be used to change the font of the icon. Here is a demo:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css" />
<style>
.custom-icon > .rz-navigation-item-wrapper .rz-navigation-item-icon {
font-family: "Font Awesome 6 Free";
}
</style>
<RadzenPanelMenu>
<RadzenPanelMenuItem class="custom-icon" Icon="" Text="General">
</RadzenPanelMenuItem>
</RadzenPanelMenu>