This is a migrated thread and some comments may be shown as answers.

How to set the iconfield when using an item template

1 Answer 58 Views
Menu
This is a migrated thread and some comments may be shown as answers.
BitShift
Top achievements
Rank 1
Veteran
BitShift asked on 21 May 2020, 02:28 AM

When using an example like this
https://docs.telerik.com/blazor-ui/components/menu/templates

How does one set the icon on each item?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 21 May 2020, 05:58 AM

Hi,

You just have to add the desired icon element - a TelerikIcon component, your own icon component, an <img /> tag - whatever fits your needs.

 

Regards,
Marin Bratanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Menu
Asked by
BitShift
Top achievements
Rank 1
Veteran
Answers by
Marin Bratanov
Telerik team
Share this question
or