corelibraries-devexpress-dot-xtraprinting-dot-textbrickbase-b46275aa.md
Gets or sets the color of the text displayed in the current brick.
Namespace : DevExpress.XtraPrinting
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
public Color ForeColor { get; set; }
Public Property ForeColor As Color
| Type | Description |
|---|---|
| Color |
A Color which represents the text color in the current brick.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ForeColor 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-custom-brick/CS/MyBrick.cs#L46
base.OnSetPrintingSystem(cacheStyle);
base.ForeColor = Color.Blue;
base.Sides = BorderSide.None;
reporting-winforms-custom-brick/VB/MyBrick.vb#L46
MyBase.OnSetPrintingSystem(cacheStyle)
MyBase.ForeColor = Color.Blue
MyBase.Sides = BorderSide.None
See Also