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
use StringFormat
<Label Text="{Binding SubTotalForItems, StringFormat='£{0}'}" />
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.