I'm using a TabControl and have overridden the DrawItem event to produce my own background and foreground colors for the header text. It looks good but there's still grey color around each header. I thought maybe the Padding property could be set to (0,0) but that seemed to have no effect.

Here is a screenshot.

Name:  ScreenHunter_02 Aug. 01 10.59.gif
Views: 1438
Size:  40.8 KB

How can I get rid of the grey edges?

Thanks.