New to Telerik Reporting? Download free 30-day trial

ControlText and other colors from SystemColors class are not valid values for Int32 - .NET Standard


Product Version or higher
Product Progress® Telerik® Reporting
Framework .NET Standard


When report using color names from SystemColors class is executed in .NET Standard the following error message will appear (the color name will vary).

Error Message

'ControlText' is not a valid value for Int32.


'ControlText' and other color names are defined in the SystemColors class and can be chosen from the System tab when setting color in the report designer. The SystemColors enumeration is not available in .NET Standard as it is too UI specific, and the color cannot be converted to its valid Integer value. Therefore, the Reporting engine throws an error when hosted in a .NET Standard project.

Suggested Workarounds

Choose the corresponding color from another tab, e.g. Custom or Web in the designer.

In this article