Back to Devexpress

BrickGraphics.BackColor Property

corelibraries-devexpress-dot-xtraprinting-dot-brickgraphics-4900529f.md

latest3.7 KB
Original Source

BrickGraphics.BackColor Property

Defines the background color for the current BrickGraphics object.

Namespace : DevExpress.XtraPrinting

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

NuGet Package : DevExpress.Printing.Core

Declaration

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

Property Value

TypeDescription
Color

The background color for the current BrickGraphics object.

|

The following code snippets (auto-collected from DevExpress Examples) contain references 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.

reporting-winforms-handle-link-events/CS/UseLinkEvents/Form1.cs#L20

csharp
e.Graph.Font = e.Graph.DefaultFont;
e.Graph.BackColor = Color.Transparent;

reporting-printing-library-get-started/CS/Form1.cs#L90

csharp
// Set the background color to White.
g.BackColor = Color.White;

reporting-printing-library-use-different-brick-types/CS/DifferentBrickTypes/Form1.cs#L120

csharp
BrickGraphics brickGraphics = e.Graph;
brickGraphics.BackColor = Color.White;
brickGraphics.Font = new Font("Arial", 8);

reporting-winforms-handle-link-events/VB/UseLinkEvents/Form1.vb#L24

vb
e.Graph.Font = e.Graph.DefaultFont
e.Graph.BackColor = Color.Transparent

reporting-printing-library-get-started/VB/Form1.vb#L107

vb
' Set the background color to White.
g.BackColor = Color.White

reporting-printing-library-use-different-brick-types/VB/DifferentBrickTypes/Form1.vb#L104

vb
Dim brickGraphics As BrickGraphics = e.Graph
brickGraphics.BackColor = Color.White
brickGraphics.Font = New Font("Arial", 8)

See Also

BrickGraphics Class

BrickGraphics Members

DevExpress.XtraPrinting Namespace