Is it possible to add other controls to a context menu? I would like to have a user control, actually as a second level menu item.
So something like:
Which would then popup the user control in the location of menuAddTraining’s sub menu.
You can’t add a panel as a menu item but you can show a UserPopup at the location of a menu item click:
var p = new UserPopup();
p.BackColor = Color.Red;
p.Size = new Size(100, 100);
Menus are complex widgets managed by a manager component that takes care of opening/closing drop down menus with a timer, focus, opened state, etc.
You can also built a custom popup similar to the Windows start using the UserPopup. An example is here http://demo.wisej.com/codeproject. You can add more UserPoup that show like a custom menu.
Please login first to submit.