I''m using the GroupBar in stacked mode and with the Office2003 visual style. I also have some gradient labels. I''d like to have the gradient labels use the same colors as the group bar Header colors, so when my app is run on OS''s with different styles the header and labels match.
But if I don''t change the default colors (via Office2003Colors) the GroupView.HeaderForeColor and GroupView.HeaderBackColor don''t return anything meaningful. Am I going about this the wrong way? How can I get the actual default colors used in the header?
ADAdministrator Syncfusion Team August 9, 2005 04:23 PM
Please make sure to invoke Office2003Colors.UpdateMenuColors() method before using the Office2003Colors. This should take care of your problem. I have attached a test sample that shows how this can be done here. Please refer to it and let me know if this meets your requirements.