| UIControlBackground Property |
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.8.0.0 (1.8.0.14553)
Syntax public Color Background { get; set; }
Public Property Background As Color
Get
Set
public:
property Color Background {
Color get ();
void set (Color value);
}
member Background : Color with get, set
Property Value
Type:
ColorThe 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.
See Also