You can align text relative to the bounding boxes of the objects that contain the text in your Microsoft Expression Blend application, for text that is contained in TextBox, TextBlock, or RichTextBox objects. Specifically, you can align text to the left, right, or center, or you can justify the text to the left and right edges of the bounding box that contains the text. For RichTextBox objects, you can set the alignment of individual paragraphs separately, and you can also control the line height and paragraph spacing of text in the objects.
Select the TextBox, TextBlock, or RichTextBox object that contains the text that you want to align, by using either the Selection tool or the Direct Selection tool .
In the Properties panel, under Text, click Paragraph .
Set the Text Alignment as you want.
If you are in text-editing mode for a TextBox or TextBlock object, the Text Alignment button will not be enabled. Press the ESC key to exit text-editing mode and to enable Text Alignment.
The RichTextBox control is not available in Microsoft Silverlight.
Select the RichTextBox object that contains the text that you want to format, by using either the Selection tool or the Direct Selection tool .
To format individual paragraphs separately in the text object, right-click the object, click Edit Text, and then click to position your cursor anywhere in the paragraph that you want to format. Otherwise, to uniformly format all paragraphs in the object, continue to the next step.
In the Properties panel, under Text, click the Paragraph tab , and then do one or more of the following:
Set the Line Height property as you want to set the amount of space between every pair of lines in the paragraph or paragraphs.
Set the Paragraph SpacingBefore property to set the amount of space that comes before the paragraph or paragraphs.
Set the Paragraph Spacing After property to set the amount of space that follows the paragraph or paragraphs.