The PlaySoundCommand type exposes the following members.
Properties
Name | Description | |
---|---|---|
CanFreeze | Gets a value that indicates whether the object can be made unmodifiable. (Inherited from Freezable.) | |
DependencyObjectType | Gets the DependencyObjectType that wraps the CLR type of this instance. (Inherited from DependencyObject.) | |
Dispatcher | Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.) | |
IsFrozen | Gets a value that indicates whether the object is currently modifiable. (Inherited from Freezable.) | |
IsSealed | Gets a value that indicates whether this instance is currently sealed (read-only). (Inherited from DependencyObject.) | |
LoopSound |
True to repeatedly play the sound in a loop. False to play the sound only once.
| |
SoundSource |
When SoundSourceMode = File, this is the filename or URL of the sound file to be played.
When SoundSourceMode = TextToSpeech, this is the text to be spoken via speech synthesis.
| |
SoundSourceMode |
Specifies how the SoundSource property will be interpreted.
| |
StopSoundOnMouseLeave |
True to stop the currently playing sound when the pointer is no longer over the associated visual object.
The ExecuteOnMouseLeave property must also be set to true.
| |
StopSoundOnUp |
True to stop the currently playing sound when the pointer is released (or checkbox is unchecked).
The ExecuteOnUp property must also be set to true.
|