Back to Devexpress

BrickStyle.BackColor Property

corelibraries-devexpress-dot-xtraprinting-dot-brickstyle-cfb1aedb.md

latest2.3 KB
Original Source

BrickStyle.BackColor Property

Gets or sets the background color.

Namespace : DevExpress.XtraPrinting

Assembly : DevExpress.Printing.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
public virtual Color BackColor { get; set; }
vb
Public Overridable Property BackColor As Color

Property Value

TypeDescription
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

csharp
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

vb
If Convert.ToInt32(e.TextValue) > 15 Then
    e.BrickStyle.BackColor = System.Drawing.Color.Yellow
Else

See Also

BrickStyle Class

BrickStyle Members

DevExpress.XtraPrinting Namespace