I have a control which accepts a string but when displaying it i want to append "Hello" to that string right in xaml how do i do it?
thanks in advance
I have a control which accepts a string but when displaying it i want to append "Hello" to that string right in xaml how do i do it?
thanks in advance
Other
You can bind to the property and use the StringFormat:
<TextBlock Text=”{Binding Path=UserName, StringFormat=’Hello \{0\} ’}“/>