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

備註

使用這個屬性來判中斷點擊測試傳回的圖表專案類型。

適用於