Partilhar via


Navigate the style hierarchy using the breadcrumb bar

This page applies to WPF and Silverlight 2

When you are in the editing scope of a style or template in Expression Blend 2, a breadcrumb navigation bar appears at the upper left of the artboard.

Breadcrumb bar with template-editing mode selected

Cc296396.eb50efd9-44c6-41f9-8f50-7d40f6c42e61(en-us,Expression.10).png

The breadcrumb bar appears for any selected object that can have a custom style or template applied to it.

To navigate the style hierarchy using the breadcrumb bar

  • By clicking the buttons on the breadcrumb bar, you can quickly move through template-editing mode, style-editing mode, and object-editing scope for the selected object.

To create a style or template resource by using the breadcrumb bar

  1. Select an object on the artboard or under Objects and Timeline that supports styles and templates. For example, select a button.

  2. At the top of the artboard, select the breadcrumb button that appears.

    Cc296396.5ebdb33f-aad2-4c10-a328-5e8b04c56a36(en-us,Expression.10).png

    Note

    If the object does not support styles or templates, the breadcrumb button for the object is unavailable.

    Cc296396.4a5612e1-7a28-4587-b870-0fe7112ec2ad(en-us,Expression.10).png

  3. From the pop-up menu that appears below the breadcrumb, select which kind of resource to create.

    For information about how to create styles and templates, see Create a style resource, Create or edit a control template, and see the section on "The difference between styles and templates" in the Style and template overview.