Share via


StripLine.BorderColor 屬性

定義

取得或設定帶狀線的框線色彩。

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

屬性值

Color 值。 預設色彩為 Empty

屬性

備註

您可以將此屬性設定為任何有效的 ARGB (Alpha、紅色、綠色、藍色) 值。

StripWidth如果 物件的 屬性 StripLine 設定為 0.0,則會繪製線條,而且它是這個屬性,而不是 BackColor 決定線條色彩的屬性設定。

適用於