dotnetmonitor.com

 
Index
Previous
Next

 

Generally its this - background, item background, item foregound effects, toolstrip border.

  • OnRenderToolStripBackground
  • OnRender[Label|Button|MenuItem...]Background
  • OnRenderItemText
  • OnRenderItemArrow
  • OnRenderItemImage
  • OnRenderToolStripBorder

The toolstrip border is painted last, as it's sort of a last chance fixup paint if the items happen to go edge to edge.

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