Share via


Create, modify, or delete a storyboard

In Blend for Visual Studio 2012, storyboards are managed from a Storyboard picker. You create new storyboards by clicking New 86937695-03dd-44ea-aa30-28d4029b3ad0 in the Objects and Timeline panel. When open, storyboards can be modified by using the drop-down menu next to the New button that includes options for creating, renaming, duplicating, reversing, and deleting.

Note

You might find it easier to work with storyboards by using the Animation workspace because the Objects and Timeline panel is displayed under the artboard instead of next to the artboard. Press Ctrl+F11 to switch between the Animation and the Design workspaces.

To add a new storyboard

  1. In the Objects and Timeline panel, click New 86937695-03dd-44ea-aa30-28d4029b3ad0.

    e2e87d8d-17b7-443b-a608-8c5ae681fce8

    The Create Storyboard Resource dialog box appears.

    ee0efe60-655f-44cf-bea6-30830185b4c0

  2. In the Name (Key) field, type a name for the storyboard, and then click OK. The new storyboard opens in recording mode.

    Tip

    By default, any new storyboard created in the root of your document will cause an event trigger to be added in the Triggers panel for the Window.Loaded event. This trigger causes your storyboard to start as soon as your application starts. If you want to create some simple interactivity, you can select the event trigger and then modify it (in the lower half of the Triggers panel) to specify the following:

    When object.PreviewMouseDown is raised

    In this case, object is the name of an object in your application. (The object must be selected for it to appear in the lower half of the Triggers panel when you modify the trigger.) This causes your animation timeline to begin when you click the object.

To modify a storyboard

  1. Select the timeline from the Storyboard picker by clicking Open a Storyboard d4531c86-5048-481c-a1ca-29af202d28e7 in the Objects and Timeline panel and then selecting a storyboard.

  2. To modify the storyboard, you can do any one of the following:

To delete a storyboard

  1. In the Objects and Timeline panel, click Open a Storyboard d4531c86-5048-481c-a1ca-29af202d28e7 to view the storyboards that are in scope. The Storyboard picker appears.

    f487c801-ef77-4ecc-911c-c794c45b6144

  2. Select the storyboard that you want to delete from the Storyboard picker.

    Blend opens the storyboard and enters timeline recording mode.

  3. Click the drop-down button next to New 86937695-03dd-44ea-aa30-28d4029b3ad0, and then click Delete.

    74b1f5aa-10f5-40fc-b786-c9de76cb87ca

    The storyboard is deleted. Blend exits timeline recording mode, leaving no storyboards open. If any triggers modified the deleted storyboard, they are also updated.