I have this menu with:
When a user clicks on one of the items, I simply needs to get the Headers content but I can't figure out how to read it.
I have built an event as follows:
private void RadMenu_ItemClick(object sender, Telerik.Windows.RadRoutedEventArgs e)
RadMenuItem item = e.Source as RadMenuItem;
object Header = item.Header;
//I would like to be able to read the content of the header someway like although this doesn't work:
string Navn = Header.Where(n => n.Navn).ToString();
But I don’t know how I can read the content of Header.
I have attached an image that shows, that I want to be able to read the variable called Navn.
I hope you can help me once again :-)
With kind regards from Kenneth