With .NET 3.5 SP 1 I checked out this blog and followed instructions, however the StringFormat
parameter still gets ignored.
Any possible reasons?
To be sure: the datatype that are involved are DateTime, double, int. So the formatting SHOULD work, but it's not.
Any clues why?
EDIT: here's the code!
<Label Content="{Binding Path=TotalHours, StringFormat=Total hours: {}{0:00}}"/>