-
Notifications
You must be signed in to change notification settings - Fork 113
PlaySoundAction
Jon W Chu edited this page Nov 16, 2015
·
1 revision
PlaySoundAction represents an action that will play a sound to completion.
This Behaviors triggers the playing of a specified sound from Source
at Volume
level.
<Button x:Name="button">
<Interactivity:Interaction.Behaviors>
<Interactions:EventTriggerBehavior EventName="Click" SourceObject="{Binding ElementName=button}">
<Media:PlaySoundAction Source="Assets/Ding.mp3" Volume="1"/>
</Interactions:EventTriggerBehavior>
</Interactivity:Interaction.Behaviors>
</Button>
- Introduction
- Using Behaviors NuGet
- Contribution
- API Reference
- Behaviors Reference
- Changelog