共用方式為


Grid.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))]
public System.Drawing.Color LineColor { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))>]
member this.LineColor : System.Drawing.Color with get, set
Public Property LineColor As Color

屬性值

Color

Color 物件。 預設值是 Black

屬性

備註

LineColor屬性是用來指定主要和次要刻度或格線的色彩。

適用於