다음을 통해 공유


View an object or resource in XAML

When you have an object selected in Blend for Visual Studio 2012, you can use the View Source command to switch to Code 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 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 Blend, right-click the object for which you want to view the XAML, and then click View Source.

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 Source.