Add degree symbol to label

c#, wpf, xaml

Solution

You can use the `ContentStringFormat` for `Label`:

Gets or sets a composite string that specifies how to format the `Content` property if it is displayed as a string.

Example:

<Label Content="{Binding Path=CelsiusTemperature}" 
       ContentStringFormat="{}{0}°" />

Problem

I want to add degree symbol to this label in xaml.Please tell me how to do it? ``` <Label Content="{Binding CelsiusTemperature}" /> ```

Original source