ADAdministrator Syncfusion Team June 7, 2004 10:12 AM
If it is a XPMenus.Bar then, you could hide/show it by getting hold of the CommandBarExt object associated with that Bar and setting its Visible property to false/true.
CommandBarExt cmdBarExt1 = this.mainFrameBarManager1.GetBarControl(this.bar1) as CommandBarExt;
cmdBarExt1.Visible = false;
I have attached a sample application that demonstrates this.
If it is a XPToolBar then simply setting its Visible property to false would do the job.
Thanks for choosing Syncfusion products.
PTPascal TellierJune 8, 2004 06:08 AM
That’s exactly what I wanted. Thank you very much.
>I would like to hide / show toolbar at runtime. Could you please tell me how to do this?
ADAdministrator Syncfusion Team June 8, 2004 11:40 AM
Thanks for the update. Please let us know if you need any other information.
JLJean Luc CharlesMay 29, 2007 07:45 AM
Not sure what to do.. when I print a chart the tool bar appears on the print and also on the chart itself although the showtoolbox property is set to false.
RFRashidha F Syncfusion Team May 30, 2007 05:17 AM
Thanks for using Syncfusion Products.
Could you please let me know what version of Essential Studio you are using?
I am not able to reproduce this issue which you have mentioned in the previous update[Version 5.1].
The following code snippet which illustrates how to invisible the Toolbar in chart control.