I’m wondering if there is special syntax to bind text concatenated with existing text.
Something like this.
<TextBlock Grid.Row="0" Name="tbGroupMembershipCaption"
Text="The following users have access to export to '{Binding TargetName}'."/>
Clearly, this doesn’t work.
What is the best practice?
Using SL4.
Use
StringFormaton theBinding.WPF:
{Binding SomeProp, StringFormat={}Head text {0} Tail text}WPF/SL:
{Binding SomeProp, StringFormat='{}Head text {0} Tail text'}WPF/SL Alt.:
{Binding SomeProp, StringFormat=Head text \{0\} Tail text}