Edit

Share via


HitTestResult.ChartElementType Property

Definition

Gets or sets the type of chart element, if any, returned by a hit test.

public:
 property System::Windows::Forms::DataVisualization::Charting::ChartElementType ChartElementType { System::Windows::Forms::DataVisualization::Charting::ChartElementType get(); void set(System::Windows::Forms::DataVisualization::Charting::ChartElementType value); };
public System.Windows.Forms.DataVisualization.Charting.ChartElementType ChartElementType { get; set; }
member this.ChartElementType : System.Windows.Forms.DataVisualization.Charting.ChartElementType with get, set
Public Property ChartElementType As ChartElementType

Property Value

A ChartElementType enumeration value that indicates the type of chart element returned by a hit test. Defaults to Nothing.

Remarks

Use this property to determine the type of chart element, if any, returned by a hit test.

Applies to