0

I have a WPF label which is bound to a property in the view model:

  <Label x:Name="Results" Content="{Binding Matching, String.Format='Results: {0}'}">

I am trying to concatenate the string with the number returned by the property, for example, if Matching returns 5 I would like to display:

Results: 5

but it is not working.

Rodri
  • 8,646
  • 19
  • 104
  • 235

0 Answers0