Search a CodePlex project


Breaks up a camel cased string into the words that comprise it.

While working with a WPF DataGrid I found that the column names that I wanted were just the up camel cased property names that were being bound. Since it seemed like this would be useful in general I created a small program to break either up or down camel cased strings into individual words and then combined these using a single space between each. Once I had this I created a new derived type of the WPF DataGrid that ran this method on each incoming column name in the AutoGenerating event and renamed columns from their camel cased names to the individual words / acronyms that made them up separated by a single space.

Example Results:

"IsOnSale" -> "Is On Sale"
"IsOK" -> "Is OK"
"Price" -> "Price"

Not affiliated with Microsoft and CodePlex
To remove your project or any question, please contact us: [email protected]