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.

Loader.
Up arrow icon