-
On the object toolbar, click the icon. Alternatively, click Text on the Create menu.
-
Under Markup Language Containers, click XAML.
-
Click the location on the where you want to add the text object.
-
Double-click the text object to open the Markup Language Text Properties dialog. Alternatively, right-click the object, and then click Properties.
-
In the navigation pane, click Markup Language in the list of available property pages if it is not already selected.
-
In the Markup language list, verify that Extensible Application Markup Language (XAML) is selected.
-
In the navigation pane, select the that you want to contain the XAML code.
-
In the Embedded Data field, enter the XAML code. Alternatively, you can modify the source to automatically import XAML from another data source, such as a database or VBScript.