Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Replying to Textblock Wrapping Of Text In Silverlight Xaml File.


Post Options

    • Can't make it out? Click here to generate a new image

  or Cancel


Topic Summary

jerry.jiang

Posted 06 October 2011 - 05:30 AM

You need to set the TextWrapping to Wrap and either set a maxmium width of the TextBlock or let the parent Panel to control the width.

xarzu

Posted 12 September 2011 - 04:38 AM

TextBlock wrapping of text in Silverlight XAML file.

I have a wierd and annoying problem. I have a textblock that is inside a stackpanel that is Oriented horizontal. It would be nice if I could have the textblock appear in multiple lines nicely wrapped. How could I do that?

Review the complete topic (launches new window)