Export (0) Print
Expand All

Edit text

In Microsoft Expression Blend, you can edit text that is displayed in text controls directly on the artboard.

Cc294617.alert_note(en-us,Expression.30).gifNote:

You can edit the text that is displayed in any control that contains text, such as a Button or ComboBoxItem. However, some text controls do not allow for rich text editing like the RichTextBox or TextBlock control do.

  1. Select the text object that you want to edit, by using either the Selection tool Cc294617.2ff91340-477e-4efa-a0f7-af20851e4daa(en-us,Expression.30).png or the Direct Selection tool Cc294617.6dd6571f-c116-451d-8dd2-1f88b8406362(en-us,Expression.30).png, or by selecting the text object under Objects and Timeline.

  2. Do one of the following:

    • Double-click the text control on the artboard, to set the cursor in the text box.

    • Right-click the text box and then click Edit Text.

    • Press F2.

    Expression Blend enters text-editing mode for the control.

  3. When in text-editing mode, you can set formatting properties under Text in the Properties panel, and you can type text directly into the control. You can also copy content from another source (such as a web page or Microsoft Word document) and paste it into the text control. If you copy rich text and other objects such as images, the formatting and objects will be preserved if you are pasting into a RichTextBox, TextBlock, or FlowDocumentScrollViewer control.

Cc294617.alert_tip(en-us,Expression.30).gifTip:

You can also let users of your application modify the text that is contained in certain types of text controls (TextBox, RichTextBox, PasswordBox) in the application, or you can make the text boxes read-only. You can also specify whether users can undo their edits. For more information, see Make text editable or read-only.

Community Additions

ADD
Show:
© 2014 Microsoft