The PlaySoundCommand type exposes the following members.

Properties

  NameDescription
Public propertyCanFreeze
Gets a value that indicates whether the object can be made unmodifiable.
(Inherited from Freezable.)
Public propertyDependencyObjectType
Gets the DependencyObjectType that wraps the CLR type of this instance. 
(Inherited from DependencyObject.)
Public propertyDispatcher
Gets the Dispatcher this DispatcherObject is associated with.
(Inherited from DispatcherObject.)
Public propertyIsFrozen
Gets a value that indicates whether the object is currently modifiable.
(Inherited from Freezable.)
Public propertyIsSealed
Gets a value that indicates whether this instance is currently sealed (read-only).
(Inherited from DependencyObject.)
Public propertyLoopSound
True to repeatedly play the sound in a loop. False to play the sound only once.
Public propertySoundSource
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.
Public propertySoundSourceMode
Specifies how the SoundSource property will be interpreted.
Public propertyStopSoundOnMouseLeave
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.
Public propertyStopSoundOnUp
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.

See Also