Hi, I've got some text in a database which I'm binding to the Text property of a TextBlock. It doesn't seem to be honouring the tag's below
<Run Text="First line of text here."/><LineBreak />This is the second line of text.<LineBreak/>Third line. It works fine if I remove the binding and place the line above in between the <TextBlock> and </TextBlock> elements. I tried setting the property Text="<Run Text='First line of text here.'/><LineBreak />This is the second line of text.<LineBreak/>Third line." and it no longer worked. So it's not the binding that is the problem here, it seems that anything in the Text property is interpreted literally whereas the text in the content part of the TextBlock (ie between the elements) can be proper Xaml. Is there a trick to get the Text property to be interpreted as Xaml and not just a literal string? I need linebreaks with my bound data. thanks, Stephen ------------------------------------------------------------------- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
