Share via


HitTestResult.ChartElementType 属性

定义

获取或设置命中测试返回的图表元素(如果有)的类型。

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

属性值

一个 ChartElementType 枚举值,该值指示命中测试所返回的图表元素的类型。 默认为 Nothing

注解

使用此属性可确定命中测试返回的图表元素的类型(如果有)。

适用于