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

[Solved] Adding icons to RadMenuItem

2 Answers 624 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Bill Jindrich
Top achievements
Rank 1
Bill Jindrich asked on 21 Jan 2010, 09:26 PM
I can't find a XAML example that shows how to set icons on RadMenitems. Can someone please share this? Also, if .NET code is also needed, please share that, as well (VB preferred). Thanks in advance!

2 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 22 Jan 2010, 12:17 PM
Hi Bill,

Thank you for contacting us.

You can find example how to set icon on the RadMenuItem here. The code that you need will be, for example, like the one shown below:

<telerikNavigation:RadMenu x:Name="radMenu" VerticalAlignment="Top" ClickToOpen="False" ItemClick="OnRadMenuItemClick">
            <telerikNavigation:RadMenuItem Header="File">
                <telerikNavigation:RadMenuItem Header="New Tab">
                     <telerikNavigation:RadMenuItem.Icon>
                     <Image Source="/Menu/Common/Images/11new.png" />
                     </telerikNavigation:RadMenuItem.Icon                            </telerikNavigation:RadMenuItem>

If you have further questions please feel free to contact us again.

All the best,
Konstantina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Bill Jindrich
Top achievements
Rank 1
answered on 25 Jan 2010, 03:47 PM
 
Tags
GridView
Asked by
Bill Jindrich
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Bill Jindrich
Top achievements
Rank 1
Share this question
or