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.
Unfortunately, activation email could not send to your email. Please try again.


Thread ID:





25465 Feb 27,2005 08:32 PM Mar 8,2005 10:26 AM Windows Forms 3
Tags: Tools
Daniel Byers
Asked On February 27, 2005 08:32 PM

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 01:27 PM

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 7, 2005 07:41 PM

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 10:26 AM

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.

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.