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

how to prevent legend properties to show on double click

Thread ID:





64214 Jul 17,2007 03:58 AM UTC Jul 17,2007 05:41 AM UTC WinForms 1
Tags: Chart
Kamen Yotov
Asked On July 17, 2007 03:58 AM UTC

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 05:41 AM UTC

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.



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