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.
Syncfusion Feedback

Change XpMenus.Bar backcolor

Thread ID:

Created:

Updated:

Platform:

Replies:

11940 Mar 18,2004 02:43 PM UTC Mar 18,2004 05:43 PM UTC Windows Forms 1
loading
Tags: Tools
Jose Luis Melo
Asked On March 18, 2004 02:43 PM UTC

Hi, How can I change the XpMenus.Bar backcolor ? Thanks a lot. Jose Melo

Administrator [Syncfusion]
Replied On March 18, 2004 05:43 PM UTC

Hi Jose, You could do so as shown in the code below : // First get hold of the CommandBarExt associated with the Bar CommandBarExt cmdbar = this.mainFrameBarManager1.GetBarControl(this.bar1) as CommandBarExt; // Access the BarControl associated with the CommandBarExt and set its BackColor to a desired value cmdbar.BarControl.BackColor = Color.Yellow; Please refer to the sample attached that illustrates the same. Thanks for considering Syncfusion products. Regards, Guru Patwal 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

;