The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
I'm changing the fontname of my grid and if I choose Monotype Corsiva the cells go red and the text changes to "Exception". In the CellStyle sample I get an error Invalid Property. I don't get this problem for any other font installed on my machine. Can anyone give me any idea why this happens?
Thanks,
Sue
ADAdministrator Syncfusion Team April 28, 2003 05:50 AM UTC
The reason you are seeing this is that Monotype Corsiva does not support regular font. You also need to set Italic. With the upcoming 1.6 release the error is handled a little better, but it still throws an exception at that point. If you wanted to catch this error, then one way would be to derive your grid, override OnDrawItem and put the call to the base class in a try block.