Share via


Axis.LineColor 屬性

定義

取得或設定座標軸的線條色彩。

public:
 property System::Drawing::Color LineColor { System::Drawing::Color get(); void set(System::Drawing::Color value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Drawing.Color LineColor { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.LineColor : System.Drawing.Color with get, set
Public Property LineColor As Color

屬性值

Color

Color 物件,表示用來繪製座標軸的線條色彩。 預設為 Black

屬性

備註

LineColor 可以使用屬性來指定軸的線條色彩。

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

適用於