So in my program I have an Entry
like so:
and this is bound to a property.
I ha
You can use Linq to split all the words and capitalize the first letter, something like this:
string input = "test of title case";
string output=String.Join(" ",input.Split(' ')
.ToList()
.Select(x => x = x.First().ToString().ToUpper() + x.Substring(1)));
In order for this to work, the separator of words must be a space always, it won't work with commas, periods etc...