I have the following code creating a context menu
var menu =
new
RadContextMenu();
var copyToCliboardMenuItem =
new
RadMenuItem {Header =
"Copy Figure to Clipboard"
, Icon = ??);
menu.Items.Add(copyToCliboardMenuItem);
RadContextMenu.SetContextMenu(BoundChart, menu);
Given the following stream,
var stream = Application.GetResourceStream(
new
Uri(
"pack://application:,,,/AppName;component/Images/myicon.png"
));
how can I set the Icon property?