I want to creat a radmenuitem with code behind but I can't show the icon for it
But it doesn't work, I can't see the icon. Help me, Please.
RadMenuItem menu = CreateMenu(
"abc"
);
menu.Header =
"abc"
;
Image img =
new
Image();
img.Source =
new
BitmapImage(
new
Uri(@
"D:\desktop\c.jpg"
, UriKind.Relative));
img.Width = 14; img.Height=14;
menu.Icon = img;