[WPF] TextBlock: set length of number with string format
Hi,
I formatted a TextBlock with:
<TextBlock Text="{Binding Value, StringFormat='\{0,0\}%'}"/>
to display a number in the format 99.9%.
With this string format, the user can write 9999999999%, it's wrong!
The part integer should be max of 2 number.
Thanks.