Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

Repeating a character in Binding StringFormat

$
0
0

I want to show starts for each rating 1-5 (*****) asterisks for example.
Is there a way to show that as repeating with StringFormat

like

<Label Text="{Binding MyRating, StringFormat='{0:X}' />

Is this possible? I know I can do a converter, but I was hoping StringFormat supported a way for this


Viewing all articles
Browse latest Browse all 89864

Trending Articles