ComponentOne FlexReport for UWP
ForeColor Property (Field)
Example 

C1.UWP.FlexReport Assembly > C1.Xaml.FlexReport Namespace > Field Class : ForeColor Property
Gets or sets the field's foreground color.
Syntax
'Declaration
 
Public Property ForeColor As Windows.UI.Color
public Windows.UI.Color ForeColor {get; set;}
Remarks
Use the ForeColor property to specify the color for text in a field. You can use this property to make fields easy to read or to convey a special meaning.
Example
The code below uses script to change the color of the text in the UnitsInStock field when its value falls below the reorder level.
// build script
string script = "UnitsInStock.ForeColor = " +
	"IIF(UnitsInStock < ReorderLevel, vbRed, vbBlack)";
	
// assign script to detail section
_c1r.Sections.Detail.OnPrint = script;
See Also

Reference

Field Class
Field Members