Add an object to the text flow
If you are working in a Windows Presentation Foundation (WPF) project, the text control objects RichTextBox, TextBlock, Label, and FlowDocumentScrollViewer in Microsoft Expression Blend can contain other objects, such as images, shapes, and other text controls. After you add an object to one of these text controls, you can drag the object to wherever you want it to appear in the text.
You can also add an object to content controls (such as a Button), but the object will replace any existing text because those controls can contain only one child object.
If you are working in a Microsoft Silverlight project, Label and RichTextBox can contain other objects, such as images, shapes, and other text controls. TextBlock objects in Silverlight projects do not support inline objects.
For information about how to add one object to another object, see Add an object to a layout panel.
To add an object to a text object
In the Objects and Timeline panel, click the RichTextBox, TextBlock, Label, or FlowDocumentScrollViewer object to which you want to add an object.
Notice that a blue highlight appears around the object to indicate that it is now the active object. Any new object created on the artboard is always added as a child object of the active object.
Do one of the following:
Drag an image file from outside Expression Blend onto the artboard over the text object.
Right-click an image in the Projects panel, and then click Insert.
From the Tools panel, select one of the drawing tools (for example, Ellipse or Pen ), and then draw the object in the text control.
From the Tools panel or the Assets panel (click Assets ), select a control (for example, a Grid panel or Button ), and then draw the object in the text control.
Drag the object to the desired location in the text object.
Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.