I need to format the Title property of my user control. For this I am trying to make use of MultiBinding with StringFormat.
The Xaml I use is :
<Control x:Name="myControlName">
<Control.Title>
<MultiBinding StringFormat="You have {0} of {1} items. ">
<Binding Path="MyNumber"></Binding>
<Binding Path="TotalNumber"></Binding>
</MultiBinding>
</Control.Title>
</Control>
For some reason this does not seem to work. Am I missing something here? Thanks!