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.

Willy
  • 9,848
  • 22
  • 141
  • 284

0 Answers0