Hi Iliyan,
You could get hold of the CommandBarExt associated with the Bar object and set its Visible property to false for this purpose (as shown in code below).
CommandBarExt cmdbar = this.mainFrameBarManager1.GetBarControl(bar) as CommandBarExt;
cmdbar.Visible = isVisible;
Please refer to the
sample attached that illustrates this. Thanks for considering Syncfusion products.
Regards,
Guru Patwal
Syncfusion, Inc.