How can I show an image in the RadRadialMenuItem from code?
2 Answers, 1 is accepted
0
Accepted
Nasko
Telerik team
answered on 23 Jul 2015, 02:44 PM
Hi Trw,
In order to visualize an Image inside RadRadialMenuItem from code - behind you need to set its IconContent property as shown below:
var item = new RadRadialMenuItem();
item.Header = "Custom Header";
item.IconContent = new Image() { Source = new BitmapImage(new Uri("imageSource.png", UriKind.Relative)) };
this.radialMenu.Items.Add(item);
Hopes this helps.
Regards,
Nasko
Telerik
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 Feedback Portal
and vote to affect the priority of the items