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

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

Thread ID:

Created:

Updated:

Platform:

Replies:

72361 Mar 15,2008 10:09 AM UTC Mar 18,2008 04:06 AM UTC WinForms 1
loading
Tags: Tools
Somesh Vaidya
Asked On March 15, 2008 10:09 AM UTC

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


Administrator [Syncfusion]
Replied On 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


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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

;