xamarin forms, add £ to label

John :

My label:

 <Label Grid.Column="5" Grid.Row="2" VerticalOptions="Start" Text="{Binding SubTotalForItems}"/>

displays the correct subtotal so for example 3.44

How can I add a £ to the beginning of this from the front end?

something like Text="£ + {Binding SubTotalForItems}"

?? thanks

Jason :

use StringFormat

 <Label Text="{Binding SubTotalForItems, StringFormat='£{0}'}" />

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=404952&siteId=1