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

How to show Icon in RadContextMenu Item ?

2 Answers 175 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Peter Wang
Top achievements
Rank 1
Peter Wang asked on 26 Feb 2010, 04:35 PM
when I set its Icon to "image/aaa.png", it shows string instead of the image.

Please help.

2 Answers, 1 is accepted

Sort by
0
Accepted
Hristo
Telerik team
answered on 01 Mar 2010, 07:10 AM
Hi Peter Wang,

Icon property have type converter that will try to convert the string to Image if the string is valid URI. Unfortunately Silverlight 3 will not call this type converter (it is called in WPF). So the only solution is to set Image object and set its Source property.

Sincerely yours,
Hristo
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
Peter
Top achievements
Rank 1
answered on 03 Feb 2011, 07:58 PM
Could you give me an example of how this would be done in a VB code behind?

Thanks!
Tags
Menu
Asked by
Peter Wang
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Peter
Top achievements
Rank 1
Share this question
or