AmbientProperties.BackColor Property

Definition

Gets or sets the ambient background color of an object.

public:
 property System::Drawing::Color BackColor { System::Drawing::Color get(); void set(System::Drawing::Color value); };
public System.Drawing.Color BackColor { get; set; }
member this.BackColor : System.Drawing.Color with get, set
Public Property BackColor As Color

Property Value

Color

A Color value that represents the background color of an object.

Remarks

If there is no ambient background color, the value of the BackColor property is set to Color.Empty.

Applies to

See also