How to create several MenuItems and add it to ContextMenu in windows phone 7 with C#?
I wrote this sample:
MenuItem q = new MenuItem();
q.Header = "something";
ContextMenu cM = new ContextMenu(q);
and in MSDN there’s something about it, but it doesn’t compile, because of construct of ContextMenu.
You can add menu items as follows: