Set text wrapping

You can control whether text that is contained in a TextBox or TextBlock object in Microsoft Expression Blend will wrap onto multiple lines when the text cannot fit within the width of the text box object.

  1. Select the TextBox or TextBlock object that you want to format, by using either the Selection Cc294640.2ff91340-477e-4efa-a0f7-af20851e4daa(en-us,Expression.10).pngtool or the Direct Selection Cc294640.6dd6571f-c116-451d-8dd2-1f88b8406362(en-us,Expression.10).pngtool.


    The TextBox control is not available in Microsoft Silverlight 1.0 projects.

  2. In the Properties panel, under Text, click the Show advanced properties Cc294640.cd646a24-b6e4-4f8d-9d64-8349ceb9c013(en-us,Expression.10).png button to see the TextWrapping property.


    If you do not see the TextWrapping property, you might be in text-editing mode (F2), which lets you change the text that is displayed in the control. To exit text-editing mode, press ESC.

  3. Click the TextWrapping value, and then click one of the following options:

    • Cc294640.25182a96-9a69-478a-9cfe-5b360e6a9bea(en-us,Expression.10).png No Wrap, to prevent text from wrapping. This option confines each line of text to a single line regardless of the width of the text box.

    • Cc294640.05fe4b1d-f584-4bd2-99b6-8bc2d735a89d(en-us,Expression.10).png WrapWithOverflow, to allow the text to break onto multiple lines when the lines of text in the object are longer than the width of the text box. This makes sure that the text will fit within the width of the text box. Note that this option does not wrap single words on individual lines; if a word on a line by itself is longer than the width of the text box, part of the word will not be displayed.

    • Cc294640.f0c1ff71-7814-42ba-806b-7ea92d616e69(en-us,Expression.10).png Wrap, to make a line of text break across multiple lines when the line is longer than the width of the text box. This option also wraps an individual word onto multiple lines if the word is longer than the width of the text box.

Wrap options for text


Community Additions