Modify a resource

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.

      Expression Blend 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

If a property already refers to a resource, you can edit that resource from the Properties panel.

  • In the Properties panel, click Advanced options Cc374994.12e06962-5d8a-480d-a837-e06b84c545bb(en-us,Expression.40).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, Expression 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 and Create or modify a template.

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.

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.