How to Warp Text in Silverlight

104 14
    • 1). Open up a Silverlight project in an editor such as Visual Studio.

    • 2). Insert the TextBlock tag in your project where you want the text to appear:

      <TextBlock

      Text="Insert your text here."

      Width="100"

      TextWrapping="Wrap" />

    • 3). Change the "Width" attribute to the desired setting. This attribute specifies the width of the text block in pixels.

    • 4). Input the desired text into the "Text" field. This can be as long as you wish; text that does not fit within the specified width will continue on multiple lines below the first line of text.

    • 5). Change the "TextWrapping" attribute to "NoWrap" if you do not want text in the text box to wrap.

Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.