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

how to prevent legend properties to show on double click

Thread ID:

Created:

Updated:

Platform:

Replies:

64214 Jul 16,2007 11:58 PM Jul 17,2007 01:41 AM Windows Forms 1
loading
Tags: Chart
Kamen Yotov
Asked On July 16, 2007 11:58 PM

currently when a user clicks on the legend of a chart i have created, they get the property editor... i don't want to give them that functionality, as it is dangerous for my app... is there a way to disable it?

Rashidha F [Syncfusion]
Replied On July 17, 2007 01:41 AM

Hi Kamen,

Thanks for using Syncfusion Products.

If your intention is to turn off the properties dialog when double click on the legend means, please use the following code snippet in your application.

//Disable the Legend property edit window and series style edit window
this.chartControl1.Legend.Style = ChartLegendStyle.Empty;

//Disable series style edit window only.
this.chartControl1.Legend.Style = ChartLegendStyle.SupportEditProperties;

//Disable Legend property edit window only.
this.chartControl1.Legend.Style = ChartLegendStyle.SupportItemStyleEdit;

Please let me know if this helps.

Regards,
Rashidha.

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.

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.

;