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 Control Library in the Windows Presentation Foundation section on MSDN, or search for XAML elements and attributes in the Class Library reference on MSDN.

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

  • On the artboard or under Objects and Timeline in the Interaction 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.

    Note

    Resources are not supported in Microsoft Silverlight 1.0 projects.