| Visual Basic (Declaration) | |
|---|---|
Public Overridable Property BackColor As Color | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public virtual Color BackColor {get; set;} | |
Return Value
Color object containing the background colorSet the text color for the element by setting the ForeColor property.
You can reset the background color to its default setting by calling the ResetBackColor method.