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

Change XpMenus.Bar backcolor

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

1 Reply

AD Administrator Syncfusion Team 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.

Live Chat Icon For mobile
Up arrow icon