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

Icons in top level items?

2 Answers 56 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Daniel Billingsley
Top achievements
Rank 1
Daniel Billingsley asked on 23 Jul 2010, 09:57 PM
I think the answer is no from looking at other threads, but is there an easy way (without retemplating the whole control) to add icons/images to the top level menu items?

2 Answers, 1 is accepted

Sort by
0
Accepted
Konstantina
Telerik team
answered on 27 Jul 2010, 09:52 AM
Hi Daniel,

Thank you for contacting us.

You can put an icon in the top level items of the menu, by setting the Icon property of the item, for example like so:


<telerik:RadMenu VerticalAlignment="Top" IconColumnWidth="0">
            <telerik:RadMenuItem Header="Item 1">
                <telerik:RadMenuItem.Icon>
                    <Image Source="Desert.jpg" Height="16" Width="16"/>
                </telerik:RadMenuItem.Icon>
                    <telerik:RadMenuItem Header="SubItem 1" />
                <telerik:RadMenuItem Header="SubItem 2" />
            </telerik:RadMenuItem>
            <telerik:RadMenuItem Header="Item 2" />
        </telerik:RadMenu>

Hope this helps.

If you need further assistance please let us know.

Greetings,
Konstantina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Daniel Billingsley
Top achievements
Rank 1
answered on 27 Jul 2010, 02:04 PM
Well, I'm glad I asked.  Great!

Thanks.
Tags
Menu
Asked by
Daniel Billingsley
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Daniel Billingsley
Top achievements
Rank 1
Share this question
or