How can use this text value?
Text="My custom text: {Binding MyData}"
In this code?
<TextBlock x:Name="lbl_data" Foreground="Black" TextWrapping="Wrap"
Margin="50,39,130,0" FontSize="13.333" FontFamily="Segoe WP Light"
VerticalAlignment="Top" Height="26"
Text="My custom text: {Binding MyData}"
/>
thanks.
You can write a Converter and pass in the Parameter MyData
If it was Silverlight 4.0 you can inherently use Value Converter like this
Also Refer Question : Binding with StringFormat on Windows Phone 7?