We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Thread ID:





25465 Feb 28,2005 01:32 AM UTC Mar 8,2005 03:26 PM UTC WinForms 3
Tags: Tools
Daniel Byers
Asked On February 28, 2005 01:32 AM UTC

I''d like to use a custom color (e.g. brush) for the ActiveTabColor on a tab control. How do I convert from BrushInfo to System.Color? TIA

Administrator [Syncfusion]
Replied On February 28, 2005 06:27 PM UTC

Hi Daniel, 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. Regards, Gregory Austin Syncfusion Inc.

Daniel Byers
Replied On March 8, 2005 12:41 AM UTC

Thanks, Gregory. 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);

Administrator [Syncfusion]
Replied On March 8, 2005 03:26 PM UTC

Hi Daniel, 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. Regards, Gregory Austin Syncfusion Inc.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon