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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Change groupBarItem appearance (Colors)???

Thread ID:

Created:

Updated:

Platform:

Replies:

27401 Apr 12,2005 12:08 PM UTC Apr 15,2005 04:00 PM UTC WinForms 5
loading
Tags: Tools
Theo Schuster
Asked On April 12, 2005 12:08 PM UTC

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 03:53 PM UTC

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 05:11 PM UTC

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 02:15 PM UTC

@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 02:20 PM UTC

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

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

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.

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

;