ADAdministrator Syncfusion Team August 29, 2004 03:37 PM
There are 2 approaches to hide a XPMenus.Bar :
1. Get the associated CommandBar object and set its Visible property to false
CommandBar cmdbar = this.mainFrameBarManager1.GetBarControl(this.bar1);
cmdbar.Visible = false; // true if you widh to show it
2. Set BarStyle without the BarStyle.Visible enumeration value
bar1.BarStyle = BarStyle.AllowQuickCustomizing | BarStyle.DrawDragBorder; // | BarStyle.Visible if you wish to show it
Please refer to the test sample attached that illustrates the above and let me know if this meets your requirements. Thanks for conisdering Syncfusion products.