dotnetmonitor.com

 
Index
Previous
Next

 

ToolStripCombo box is simply the WindowsForms ComboBox wrapped in a ToolStripControlHost to make is hostable via ToolStrips. Some custom renderering of the ComboBox is done for border color, size and dropdown arrow. A subset of the hosted controls properties and events are exposed at the ToolStripComboBox level, but the underlying ComboBox control is fully accessible via the ToolStripComboBox.ComboBox property.
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