windowsforms-devexpress-dot-xtraeditors-dot-textedit-051f0829.md
Gets or sets the editor’s background color.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public override Color BackColor { get; set; }
Public Overrides Property BackColor As Color
| Type | Description |
|---|---|
| Color |
The editor’s background color.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BackColor property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
bounds.Y += 3;
headerEdit.BackColor = GetColor();
headerEdit.SetBounds(bounds.X, bounds.Y, bounds.Width, bounds.Height);
bounds.Y += 3
headerEdit.BackColor = GetColor()
headerEdit.SetBounds(bounds.X, bounds.Y, bounds.Width, bounds.Height)
See Also