Editar

Partilhar via


StripLine.BackColor Property

Definition

Gets or sets the background color of the strip line.

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

Property Value

A Color structure. The default color is White.

Attributes

Remarks

You can set this property to any valid ARGB (alpha, red, green, blue) value.

To set a gradient for the strip line, set the BackColor and BackSecondaryColor properties.

If you set this color to "transparent" - in other words, set the alpha value to 0 - no color will be assigned to the background of the element. As a result, the background will be transparent.

If the StripWidth property is set to 0.0, a line will be drawn and the BorderColor property will determine the color of the line, not this property.

Applies to