dotnetmonitor.com

 
Index
Previous
Next

 

MenuStrip is the ToolStrip family of controls replacement for MainMenu. It also handles the majority of key handling in the menu activation case and has special logic around Form.MainMenuStrip. There are special MDI features around MDIWindowListItem as well. MenuStrip in this discussion refers to both the entire tree of MenuStrip, ToolStripMenuItems and the associated dropdowns (ToolStripDropDownMenu) collectively and to MenuStrip proper (the top level container only).

Preferred Items

ToolStripMenuItem - default

ToolStripTextBox

ToolStripComboBox

 

Preferred items means the items that are designed to render with high accuracy across by system and professional renderers in all orientations and those available by default at design time for this control.

Painting
When should I use Paint/OnPaint and when should I override the ToolStripRenderer?
Do I need to worry about double buffering?
Parenting
Partial Trust
Usage