dotnetmonitor.com

 
Index
Previous
Next

 

Toolstrips have three main usage patterns that impact how they are laid out, keyboard interation and end-user behavior.

Joined in a ToolStripPanel

This means that the ToolStrip is typically repositionable within the ToolStripPanel and across ToolStripPanels. The dock property is ignored, and the size of the ToolStrip if not Stretch grows with more items. It usually does not participate in Tab order.

Docked

The ToolStrip is docked to one side of a container, is in a fixed position and size expanding over the entire edge to which it is docked. It usually does not participate in Tab order.

Absolutely Positioned

This mode is using the ToolStrip just like a control. It is placed via the location property, has a fixed size and typically participates in the Tab order.

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