PlaySoundAction (Blend SDK for WPF)

The PlaySoundAction action plays a sound when a specified action is triggered.

To add a PlaySoundAction

  1. In the Assets panel, click Behaviors, and then drag PlaySoundAction onto the object that you want to apply the action to. The Common Properties category appears in the Properties panel.

  2. In the Common Properties category, in the Source drop-down list, select the sound file that you want, or click Browse to locate a sound file.

    PlaySoundAction

  3. In the Common Properties category, in the Volume box, type a number between 0 and 1, where 0 is no volume, and 1 is full volume.