corelibraries-devexpress-dot-xtraprinting-dot-brickstyle-cfb1aedb.md
Gets or sets the background color.
Namespace : DevExpress.XtraPrinting
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
public virtual Color BackColor { get; set; }
Public Overridable Property BackColor As Color
| Type | Description |
|---|---|
| Color |
A Color representing the 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.
asp-net-mvc-grid-export-colored-grid-in-wysiwyg-mode/CS/Controllers/HomeController.cs#L59
if(Convert.ToInt32(e.TextValue) > 15)
e.BrickStyle.BackColor = System.Drawing.Color.Yellow;
else
asp-net-mvc-grid-export-colored-grid-in-wysiwyg-mode/VB/Controllers/HomeController.vb#L67
If Convert.ToInt32(e.TextValue) > 15 Then
e.BrickStyle.BackColor = System.Drawing.Color.Yellow
Else
See Also