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:
property Color BackColor {
	Color get();
	void set(Color value);
}

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
Available since 1.1
Return to top
Show: