Modify a resource (Blend for Visual Studio)

To modify a resource using the Resources panel

  • In the Resources panel, do one of the following:

    • If editing a style resource, double-click the resource or click the Edit Resource button.

      Blend for Visual Studio 2012 enters the editing mode for the style, within the document where the resource is defined (in the current document, the App.xaml file if the resource is defined at the application level, or in the resource dictionary file if the resource is defined in a resource dictionary.)

    • If editing a color or brush resource, click the color chip to view of the pop-up color or brush editor.

To modify a resource using the Properties panel

  • In the Properties panel, click Advanced options JJ155252.12e06962-5d8a-480d-a837-e06b84c545bb(en-us,VS.110).png beside the property that references the resource that you want to modify, and then click Edit Resource on the pop-up menu.

    • If the resource is a style, Blend enters the editing mode for the style within the document where the resource is defined (in the current document, in the App.xaml file if the resource is defined at the application level, or in the resource dictionary file if the resource is defined in a resource dictionary.)

    • If the resource is a color or a brush, the Edit Resource dialog box appears.

Note

If you want to edit a control template, you can get to the template from the editing scope of the style by right-clicking the Style node under Objects and Timeline, pointing to Edit Template, and then clicking Edit Template. Control templates are wrapped in style resources in order to make them easier to manage. For more information about editing styles and templates, see Edit a style (Blend for Visual Studio) and Create or modify a template (Blend for Visual Studio).

Note

After you modify a resource, any object that references the resource will display the changes that you've made to the values of the resource.