Gets and sets which parts of the chart can be selected. When null, as default, all parts can be selected. Objects can be one of the ChartClickedPartStyle enumeration or a Series or Axis. private Points series1; private Selector tool1; private void InitializeChart() { tChart1.Series.Add(series1 = new Points()); tChart1.Tools.Add(tool1 = new Selector()); series1.FillSampleValues(); //Let's only allow the left axis and the Legend to be selected. tool1.SelectableParts = new object[] { tChart1.Axes.Left, ChartClickedPartStyle.Legend }; tool1.Selected += new SelectorSelectedEventHandler(tool1_Selected); } void tool1_Selected(object sender, EventArgs e) { Steema.TeeChart.Editors.EditorUtils.EditChartPart(tChart1.Chart, tool1.Part, false); }
public Object[] SelectableParts {get; set;}

See Also

Selector Class | Selector Members | Steema.TeeChart.Tools Namespace