I had a TimeSpan saved into SqlCe in ticks, and when i load the data in a DataGrid i want to format this value in HH:MM:SS. I try it with this:
<DataGridTextColumn Binding="{Binding tiempo, StringFormat={}{0:hh':'mm':'ss}, TargetNullValue=' --- '}" Width="80" Header="Tiempo"/>
But the DataGrid shows 'hh:mm:ss' instead of the value.
i try also try it with other patterns like StringFormat="hh\:mm\:ss"
Any idea?
Thanks! and sorry for my bad english!