Silverlight textblock binding question + MVVM
- by AdrianDN
Hello everyone,
I'm trying to create a simple textblock control and I'm trying to insert a property from my ViewModel in the middle of the string.
E.G. "Hello, My name is XX, bla, bla."
(XX is a property from my ViewModel)
<TextBlock Text="Hello, My name is {Binding SelectedUser.Name}, bla, bla." />
Is that possible?
Regards,
Adrian