Export (0) Print
Expand All

AmbientProperties.BackColor Property

Gets or sets the ambient background color of an object.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public Color BackColor { get; set; }

Property Value

Type: System.Drawing.Color
A Color value that represents the background color of an object.

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft