I am writing a custom ToolStripProfessionalRenderer component and currently working through all of the OnRender... overrides.
This one in particular has stumped me: OnRenderItemBackground
I can't see it drawing anything, so to force it to draw something I've done this:
protected override void OnRenderItemBackground(ToolStripItemRenderEventArgs e)
{
e.Graphics.FillRectangle(Brushes.Red, e.Item.ContentRectangle);
}
...but I don't see any red rectangles, so not sure what it's doing!?