Formating in WPF binding
<TextBlock Text="{Binding Text, StringFormat=The text is \'\{0\}\'}" />
<TextBlock Text="{Binding DateTime, StringFormat=\{0:d\}}" />
<TextBlock Text="{Binding DateTime, StringFormat=\{0:HH:mm:ss\}}" />
<TextBlock Text="{Binding Text, StringFormat=The text is \'\{0\}\'}" />
<TextBlock Text="{Binding DateTime, StringFormat=\{0:d\}}" />
<TextBlock Text="{Binding DateTime, StringFormat=\{0:HH:mm:ss\}}" />