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. Image for the cookie policy date

can I have separate color for MainMenuBar and Other bars in MainFrameBarManager

I am using MainFrameBarManager to add menus and toolbars. I would like to show MainMenu in Blue and Other Bars (Toolbar) in AliceBule color

Can I have separate color for MainMenuBar and Other bars in MainFrameBarManager


1 Reply

AD Administrator Syncfusion Team March 18, 2008 04:06 AM UTC

Hi Somesh,

Thank you for your interest in Syncfusion Products.

The best way to set the color for the various Menu and ToolBar items for the MainFrameBarManager is by using the MenuColors class.
Refer the following code:
MenuColors.CommandBarBackColor = Color.Blue;
MenuColors.MenuBGColor = Color.AliceBlue;

Please refer the sample in the below link that illustrates the above.

http://websamples.syncfusion.com/samples/Tools.Windows/F72361/main.htm


Please let me know if this helps.

Regards,
Anupama


Loader.
Live Chat Icon For mobile
Up arrow icon