c# - Add degree symbol to label -


I want to add degree symbol to xaml for this label. Please tell me how to do this?

  & lt; Label content = "{Binding Celsius temperature}" />    

You can use for Label :

Example:

is displayed as a string, then content specifies how to format the property. / P>

  & lt; Label Content = "{Binding Path = Celsius Temperature}" ContentStringFormat = "{} {0} One Degree" />    

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -