共用方式為


Axis.LineDashStyle 屬性

定義

取得或設定座標軸的線條樣式。

public:
 property System::Windows::Forms::DataVisualization::Charting::ChartDashStyle LineDashStyle { System::Windows::Forms::DataVisualization::Charting::ChartDashStyle get(); void set(System::Windows::Forms::DataVisualization::Charting::ChartDashStyle value); };
[System.ComponentModel.Bindable(true)]
public System.Windows.Forms.DataVisualization.Charting.ChartDashStyle LineDashStyle { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.LineDashStyle : System.Windows.Forms.DataVisualization.Charting.ChartDashStyle with get, set
Public Property LineDashStyle As ChartDashStyle

屬性值

ChartDashStyle

ChartDashStyle 列舉值。

屬性

備註

LineDashStyle屬性會決定軸所使用的線條樣式。 這一行可以是實線、點線等等。

注意 如果軸未啟用,但相鄰軸使用格線,則會顯示這些格線中的其中一個,以取代未啟用的座標軸。 如果 Enabled 軸的屬性設定為,就會發生相同的情況 Auto 。 在此情況下,不會使用軸來繪製資料,而會改為繪製相鄰軸的格線。

適用於