1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Windows TextBlock wrapping of text in Silverlight XAML file.

Discussion in 'Software' started by Captain Xarzu, 12 Sep 2011.

  1. Captain Xarzu

    Captain Xarzu What's a Dremel?

    Joined:
    22 Aug 2007
    Posts:
    15
    Likes Received:
    0
    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?
     
  2. CDomville

    CDomville ^ I am THIS Possum

    Joined:
    4 Jan 2011
    Posts:
    223
    Likes Received:
    10
    MS Docs are your friend!!! Just been in the same boat as you as a novice XAML dev.:D

    http://msdn.microsoft.com/en-us/library/system.windows.controls.textblock.aspx

    and

    http://msdn.microsoft.com/en-us/library/system.windows.controls.textblock.textwrapping.aspx
     
Tags:

Share This Page