ControlText and other colors from SystemColors class are not valid values for Int32 - .NET Standard
Environment
Product Version | 13.0.19.116 or higher |
Product | Progress® Telerik® Reporting |
Framework | .NET Standard |
Description
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.
Solution
'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.