dotnetmonitor.com

 
Index
Previous
Next

 

When a ToolStrip is contained within a ToolStripPanel (so that it can be moved by the user of the application) , it can either fill an entire row of the ToolStripPanel or size to the ToolStrips contents. The ToolStrip.Stretch property controls this behavior if Stretch = true, the ToolStrip fills the entire row, otherwise it sizes as normal.
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