Hi Julie,
Thank you for using Syncfusion Products.
The issue can be solved by using the inbuilt method GetTabRect of TabControlAdv to get the tab rectangle and we can use it in the LinearGradientBrush and FillRectangle methods. Here is the code snippets:
void tabControlAdv1_DrawItem(object sender, Syncfusion.Windows.Forms.Tools.DrawTabEventArgs drawItemInfo)
{
Brush br = new LinearGradientBrush(this.tabControlAdv1.GetTabRect(drawItemInfo.Index), Color.White, System.Drawing.Color.FromArgb(187, 194, 214), System.Drawing.Drawing2D.LinearGradientMode.Vertical);
drawItemInfo.Graphics.FillRectangle(br, this.tabControlAdv1.GetTabRect(drawItemInfo.Index));
br.Dispose();
drawItemInfo.DrawBackground();
drawItemInfo.DrawBorders();
drawItemInfo.DrawInterior();
}
Please refer the sample that illustrates this:
http://websamples.syncfusion.com/samples/Tools.Windows/69042/main.htm
Please try this and let me know if this helps.
Regards,
Jisha