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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Tool Bar

Thread ID:

Created:

Updated:

Platform:

Replies:

81550 May 20,2009 03:38 PM UTC May 27,2009 03:36 PM UTC WinForms 4
loading
Tags: Chart
Mia Lee
Asked On May 20, 2009 03:38 PM UTC

Is there a way to only show the copy, print and preview icons in the tool bar and not the rest of the tool bar?

Thanks

Administrator [Syncfusion]
Replied On May 20, 2009 04:22 PM UTC

Let me know if there is a better way to remove all tool bar icons except for Copy, Print, and Preview (the first three icons) than the way I have done it below.

this.chartControl1.ToolBar.Items.RemoveAt(8);
this.chartControl1.ToolBar.Items.RemoveAt(7);
this.chartControl1.ToolBar.Items.RemoveAt(6);
this.chartControl1.ToolBar.Items.RemoveAt(5);
this.chartControl1.ToolBar.Items.RemoveAt(4);
this.chartControl1.ToolBar.Items.RemoveAt(3);

Thanks

Administrator [Syncfusion]
Replied On May 21, 2009 09:01 AM UTC

Hi Mia lee,

Thanks for using Syncfusion Products.

We have to remove the toolbar icons by the way you have done,
i.e., this.chartControl1.ToolBar.Items.RemoveAt(index);

This is only way for removing the toolbar icons at runtime.

If suppose you want the toolbar buttons to be removed at design time, then you can open the chart wizard(by right clicking on the chart control and then choosing the Chart Wizard from the context menu) and can delete the unwanted buttons in the tool bar.

Kindly, let me know if it helps.

Thanks,
Manimaala.




Manimala S [Syncfusion]
Replied On May 21, 2009 09:02 AM UTC

Hi Mia lee,

Thanks for using Syncfusion Products.

We have to remove the toolbar icons by the way you have done,
i.e., this.chartControl1.ToolBar.Items.RemoveAt(index);

This is only way for removing the toolbar icons at runtime.

If suppose you want the toolbar buttons to be removed at design time, then you can open the chart wizard(by right clicking on the chart control and then choosing the Chart Wizard from the context menu) and can delete the unwanted buttons in the tool bar.

Kindly, let me know if it helps.

Thanks,
Manimaala.




Mia Lee
Replied On May 27, 2009 03:36 PM UTC

Thanks! it works

CONFIRMATION

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.

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

;