View an object or resource in XAML

When you have an object selected in Microsoft Expression Blend, you can use the View XAML command to switch to XAML view where the line of the XAML that relates to the object that you selected will be highlighted.

For more information about XAML and WPF, see the XAML Overview on MSDN or visit the Windows Vista Developer Center. For the syntax of individual controls, see the links listed in Controls, properties, and events reference.

To view an object in Extensible Application Markup Language (XAML)

  • On the artboard or in the Objects and Timeline panel in Expression Blend, right-click the object for which you want to view the XAML, and then click View XAML.

To view a resource in XAML

  • In the Resources panel, right-click the resource for which you want to view the XAML, and then click View XAML.