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.

Change XpMenus.Bar backcolor

Thread ID:

Created:

Updated:

Platform:

Replies:

11940 Mar 18,2004 09:43 AM Mar 18,2004 12:43 PM Windows Forms 1
loading
Tags: Tools
Jose Luis Melo
Asked On March 18, 2004 09:43 AM

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

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

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.

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.

;