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.

Change groupBarItem appearance (Colors)???

Thread ID:

Created:

Updated:

Platform:

Replies:

27401 Apr 12,2005 08:08 AM Apr 15,2005 12:00 PM Windows Forms 5
loading
Tags: Tools
Theo Schuster
Asked On April 12, 2005 08:08 AM

Is there a possibility to change the colors of a groupBarItem in a groupBar, when using the VisualStyle "Office 2003"? I like the complete style, but i just want to change some of the colors! Is that possible???

Administrator [Syncfusion]
Replied On April 13, 2005 11:53 AM

Hi Theo, We offer a static class, Syncfusion.Windows.Forms.Office2003Colors, that allows you to set (or reset) the colors used for our Office2003 styles. For example, if you wanted to make the highlighted GroupBarItem have a blue to purple gradient, you would use the following two lines of code: Syncfusion.Windows.Forms.Office2003Colors.GroupBarHighlightColorLight = Color.Blue; Syncfusion.Windows.Forms.Office2003Colors.GroupBarHighlightColorDark = Color.Purple; If you have any questions about how to use this class, please let me know. Regards, Gregory Ausitn Syncfusion Inc.

Administrator [Syncfusion]
Replied On April 13, 2005 01:11 PM

Gregory: That is useful information. If you know, offhand, any posts or articles that describe that class, please let me know. Otherwise, I can look at the class reference and figure things out which is no problem. Thanks.

Administrator [Syncfusion]
Replied On April 14, 2005 10:15 AM

@Gregory thanks a lot for the hint. I was able to change nearly every color I wanted and it looks great. Except for the color of the GroupBarItems! Following line ist for the text color... Syncfusion.Windows.Forms.Office2003Colors.GroupBarItemTextColor = Color.Black; Why isn''t there an adequate GroupBarItemColorDark and GroupBarItemColorLight for the rest of the "buttons"? How can I change those colors???

Administrator [Syncfusion]
Replied On April 14, 2005 10:20 AM

sorry, I forgot my name in the previous post...

Administrator [Syncfusion]
Replied On April 15, 2005 12:00 PM

Hi guys, Kevin: I''m not aware of any articles or forum posts listing what all the colors do. I''ve found that most of the colors are accurately named, so the class reference is adequate. Theo: The GroupBarItems that haven''t been selected or highlighted are drawn using MenuMarginColorDark and MenuMarginColorLight. Regards, Gregory Austin Syncfusion Inc.

CONFIRMATION

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.

;