Retrieving the color information from a Brush would depend on the specific type of Brush. For example, you can get color information out of a LinearGradientBrush through the LinearColors property.
Alternatively, you could use TabControlAdv''s custom rendering support to use your Brush to draw your own tabs.
DBDaniel ByersMarch 8, 2005 12:41 AM UTC
Any chance you could be more specific? I''d like to you the following brush for the background on the tab:
BrushInfo i = new BrushInfo(GradientStyle.Vertical, Color.White, Color.PaleGreen);
AdministratorMarch 8, 2005 03:26 PM UTC
There is information available on Customized TabControlAdv Rendering in our online documentation:
Custom Tab Rendering
If you have any questions regarding that tutorial, please let me know.