Share via


Indent a line or a paragraph

This page applies to WPF projects only

You can indent text that is contained in RichTextBox objects in Microsoft Expression Blend in the following ways:

  • Indent the first line of a paragraph.

  • Indent the whole left edge of a paragraph.

  • Indent the whole right edge of a paragraph.

You can apply one or more of these different kinds of indents to a single paragraph. If your text object contains multiple paragraphs, you can apply indent properties to each paragraph separately in the object, or you can apply properties collectively to all paragraphs in the object.

To indent a paragraph

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

  2. To format only part of the text in the object, right-click the object, click Edit Text, and then drag the pointer to select the text that you want to format. To format only one paragraph at a time, position your cursor somewhere in the paragraph that you want to format. Otherwise, continue to the next step.

  3. In the Properties panel, under Text, select the Line Indent tab Cc295258.a4a490be-7ec2-42c4-86bc-8c718af620ca(en-us,Expression.40).png.

  4. Set the Left indent Cc295258.facaf84b-e13b-494b-967f-385cc2fe7557(en-us,Expression.40).png, Right indent Cc295258.e6fc8916-1584-46c5-807b-119751d2d167(en-us,Expression.40).png, and First line indent Cc295258.f187c097-4ba7-4eae-ae73-048c3b202487(en-us,Expression.40).png as you want.

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.