Content Index Search
 

Edit text

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

Note You can edit the text that is displayed in other controls, such as a Button or ComboBoxItem. However, these other controls do not allow for rich text editing.

To edit text
  1. Select the text control that you want to edit, by using either the Selection tool or the Direct Selection image of Direct Selection tool tool.
  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.
Tip You can also let users of your application edit the text that is contained within 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.