Selector overview

Constructors

 ConstructorOverloaded

Public Events

 DraggedCalled when the end-user releases the left mouse button after a dragging operation.
 DraggingCalled when the end-user is moving the mouse while pressing the left mouse button when the mouse is over a chart element.
 ResizedCalled when the end-user releases the left mouse button after a chart resizing operation.
 ResizingCalled when the end-user moves the mouse while resizing the chart.
 SelectedCalled when the end-user clicks a chart element that is different than the previously selected one.

Public Methods

 Clone (inherited from Tool)
 GetBitmapEditor (inherited from Tool)Returns the associated bitmap icon for a given Tool class. This icon is used at Tools gallery ListBox and Tools Editor dialog.
 Invalidate (inherited from TeeBase)Use Invalidate when the entire canvas needs to be repainted.
 OnDragged
 OnDragging
 OnResized
 OnResizing
 OnSelected
 ToString (inherited from Tool)

Public Properties

 Active (inherited from Tool)Enables/Disables the indexed Tool.
 AllowDragPermits the end user to move selected chart elements like series marks, legend, titles, etc.
 AllowResizeChartWhen True, the selector tool enables clicking the chart to select it and drag the chart corner handles to resize it.
 Annotation
 BrushElement Brush characteristics.
 Chart (inherited from TeeBase)Chart associated with this object
 DescriptionGets descriptive text.
 DraggingShapeReturns the object that is being currently dragged.
 DrawHandlesControls if the selector tool should draw the small black rectangles at selected item corners.
 HandleSizeThe size in pixels of the small black rectangles displayed at selected item corners.
 Part
 PenElement Brush characteristics.
 SelectablePartsGets 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); }
 Selection
 SeriesThe currently selected chart Series, if any.
 SummaryGets detailed descriptive text.
 Tag (inherited from TeeBase)Gets or sets an object that provides additional data about the TChart object.
 WallThe currently selected chart Wall, if any.

See Also

Selector Class | Steema.TeeChart.Tools Namespace