Partager via


ControlStoryboardAction

A storyboard is one way to create animations in Windows Presentation Foundation (WPF) and Microsoft Silverlight. After you create a storyboard, you can use a ControlStoryboardAction to specify what you want the storyboard to do.

To add a ControlStoryboardAction

  1. In the Assets panel, click Behaviors, and then drag ControlStoryboardAction into the application window and drop it onto the object.

    [!REMARQUE]

    The object to which the behavior is attached provides the context for the behavior.

    The Common Properties category appears in the Properties panel.

  2. In the Common Properties category of the Properties panel, in the ControlStoryboardOption drop-down list, select the action that you want to perform.

    ControlStoryboardAction

  3. In the Storyboard drop-down list, select the storyboard that you want to apply the behavior to.