dotnetmonitor.com

 
Index
Previous
Next

 

This section contains information relevant to ToolStrip as a base class and ToolStrip as a control.

ToolStrip is not only replacement for ToolBar, but also the base class for MenuStrip, StatusStrip and ContextMenuStrip. By default it uses the SplitStackLayout which supports two virtual stacks of items. The enables support of overflow and alignment within the ToolStrip.

Preferred Items

ToolStripButton - default

ToolStripSeparator

ToolStripLabel

ToolStripDropDownButton

ToolStripSplitButton

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