dotnetmonitor.com

 
Index
Previous
Next

 

ContextMenuStrip is the ToolStrip version of ContextMenu. It can be associated with any control and a via secondary click will automatically show. It can also be shown programmatically via the Show() API. It supports an Opening and Closing cancellable events to handle dynamic population and multiclick scenarios. ContextMenuStrip, like ToolStripDropDown menu is a highly specialized layout supporting Image, Check, Text, Shortcut and flyout columns. It also implements special behavior such as auto expanding from top level MenuStrip and diagonal submenu access
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