Gets or sets the background color.
This is a game object property.
Namespace: DigitalRune.Game.UI.ControlsAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.1.0.0 (1.1.1.9392)
Syntax
| C# |
|---|
public Color Background { get; set; } |
| Visual Basic |
|---|
Public Property Background As Color Get Set |
| Visual C++ |
|---|
public: property Color Background { Color get (); void set (Color value); } |
Field Value
The background color.
Remarks
If the background color is not transparent (Color.A is not 0), then the
IUIRenderer clears the background rectangle of this control with the
background color.