Share via


Change the color of text objects

To set the color of text in Microsoft Expression Blend, you set properties under Brushes in the Properties panel. Depending on the type of text object that you use, you can set two or more of the following color properties:

  • Foreground   The color of the text itself.

  • Background   The background color of the text box that contains the text.

  • BorderBrush   The color of the outline of the text box that contains the text.

To set the color of text

  1. Do one of the following:

    • To format all the text in a text box, select the text control object by using either the Selection tool Cc294678.2ff91340-477e-4efa-a0f7-af20851e4daa(en-us,Expression.30).png or the Direct Selection tool Cc294678.6dd6571f-c116-451d-8dd2-1f88b8406362(en-us,Expression.30).png.

    • To format only some of the text in a TextBlock or RichTextBox text control object, click either Selection Cc294678.2ff91340-477e-4efa-a0f7-af20851e4daa(en-us,Expression.30).png or Direct Selection Cc294678.6dd6571f-c116-451d-8dd2-1f88b8406362(en-us,Expression.30).png in the Tools panel, right-click the text box object, click Edit Text or press F2 to enter text-editing mode, and then drag your pointer to highlight the text that you want to format.

  2. In the Properties panel, under Brushes, select a property such as Foreground, and then use the brush options underneath to set the desired appearance. For more information about setting colors for a brush, see Apply a brush to an object's fill or stroke.