How to set DataGridView columns text format to uppercase by adding new property?

Posted by Jooj on Stack Overflow See other posts from Stack Overflow or by Jooj
Published on 2010-01-04T19:51:52Z Indexed on 2010/04/06 13:33 UTC
Read the original article Hit count: 166

Hello,

I have a custom DataGridView control and want to set the text format for custom columns in the designer (CellStyle builder).

Let's say I want to make the text format to uppercase. After searching about this I've found some solutions with adding new events and then changing the text format but this is not what I want. I want to add a new property to all designed columns and there set or change the text format.

How to do this?

Thank and best regards.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET