My code currently shows like this: 43521 reviews
, I want it be like this: 43,521 reviews
. How can I do that? and is there a full reference for all possible formats in StringFormat
? couldn't find anything. thanks.
<TextBlock Text="{Binding Reviews,StringFormat='{}{0} reviews'}"/>
This one also worked :)
<TextBlock Text="{Binding Reviews,StringFormat='{}{0:N0} reviews'}"/>