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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hide / Show toolbar

Thread ID:





14864 Jun 7,2004 02:37 PM UTC May 30,2007 10:17 AM UTC WinForms 5
Tags: Tools
Pascal Tellier
Asked On June 7, 2004 02:37 PM UTC

I would like to hide / show toolbar at runtime. Could you please tell me how to do this? Thanks Pascal

Administrator [Syncfusion]
Replied On June 7, 2004 03:12 PM UTC

Hi Pascal, 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. Regards, Guru Patwal Syncfusion, Inc.

Pascal Tellier
Replied On June 8, 2004 11:08 AM UTC

That’s exactly what I wanted. Thank you very much. Pascal >I would like to hide / show toolbar at runtime. Could you please tell me how to do this? > >Thanks > >Pascal

Administrator [Syncfusion]
Replied On June 8, 2004 04:40 PM UTC

Hi Pascal, Thanks for the update. Please let us know if you need any other information. Regards, Guru Patwal Syncfusion, Inc.

Jean Luc Charles
Replied On May 29, 2007 12:45 PM UTC


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.


Jean Luc

Rashidha F [Syncfusion]
Replied On May 30, 2007 10:17 AM UTC

Hi Jean,

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.

this.chartControl1.ShowToolbar = false;
this.chartControl1.ToolBar.Visible = false;

Please take a look at the attached sample.


Please let me know if this helps.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon