Menu

The following tables list the members exposed by the PlaySoundAction type.

Public Constructors

NameDescription
PlaySoundAction Initializes a new instance of the PlaySoundAction class.
Top

Public Fields

NameDescription
IsEnabledProperty(Inherited from TriggerAction)
SourceProperty
VolumeProperty
Top

Public Properties (see also Protected Properties)

NameDescription
CanFreeze(Inherited from Freezable)
DependencyObjectType(Inherited from DependencyObject)
Dispatcher(Inherited from DispatcherObject)
HasAnimatedProperties(Inherited from Animatable)
IsEnabled Gets or sets a value indicating whether this action will run when invoked. This is a dependency property. (Inherited from TriggerAction)
IsFrozen(Inherited from Freezable)
IsSealed(Inherited from DependencyObject)
Source A Uri defining the location of the sound file. This is used to set the source property of the MediaElement. This is a dependency property.
Volume Control the volume of the sound. This is used to set the Volume property of the MediaElement. This is a dependency property.
Top

Protected Properties

NameDescription
AssociatedObject Gets the object to which this TriggerAction`1 is attached. (Inherited from TriggerAction)
AssociatedObjectTypeConstraint Gets the associated object type constraint. (Inherited from TriggerAction)
Top

Public Methods (see also Protected Methods)

NameDescription
ApplyAnimationClockOverloaded. (Inherited from Animatable)
Attach(Inherited from TriggerAction)
BeginAnimationOverloaded. (Inherited from Animatable)
CheckAccess(Inherited from DispatcherObject)
ClearValueOverloaded. (Inherited from DependencyObject)
Clone(Inherited from Animatable)
CloneCurrentValue(Inherited from Freezable)
CoerceValue(Inherited from DependencyObject)
Detach Detaches this instance from its associated object. (Inherited from TriggerAction)
EqualsOverloaded. (Inherited from DependencyObject)
FreezeOverloaded. (Inherited from Freezable)
GetAnimationBaseValue(Inherited from Animatable)
GetAsFrozen(Inherited from Freezable)
GetCurrentValueAsFrozen(Inherited from Freezable)
GetHashCode(Inherited from DependencyObject)
GetLocalValueEnumerator(Inherited from DependencyObject)
GetType(Inherited from Object)
GetValue(Inherited from DependencyObject)
InvalidateProperty(Inherited from DependencyObject)
ReadLocalValue(Inherited from DependencyObject)
ReferenceEquals(Inherited from Object)
SetCurrentValue(Inherited from DependencyObject)
SetValueOverloaded. (Inherited from DependencyObject)
ShouldSerializeStoredWeakReference(Inherited from Animatable)
ToString(Inherited from Object)
VerifyAccess(Inherited from DispatcherObject)
Top

Protected Methods

NameDescription
CloneCore(Inherited from Freezable)
CloneCurrentValueCore(Inherited from Freezable)
CreateInstance(Inherited from Freezable)
CreateInstanceCore When implemented in a derived class, creates a new instance of the Freezable derived class. (Inherited from TriggerAction)
Finalize(Inherited from Object)
FreezeOverloaded. (Inherited from Freezable)
FreezeCore(Inherited from Animatable)
GetAsFrozenCore(Inherited from Freezable)
GetCurrentValueAsFrozenCore(Inherited from Freezable)
InvokeOverridden. This method is called when some criteria are met and the action should be invoked.
MemberwiseClone(Inherited from Object)
OnAttached Called after the action is attached to an AssociatedObject. (Inherited from TriggerAction)
OnChanged(Inherited from Freezable)
OnDetaching Called when the action is being detached from its AssociatedObject, but before it has actually occurred. (Inherited from TriggerAction)
OnFreezablePropertyChangedOverloaded. (Inherited from Freezable)
OnPropertyChanged(Inherited from Freezable)
ReadPreamble(Inherited from Freezable)
SetMediaElementProperties When the action is invoked, this method is used to customize the dynamically created MediaElement.
ShouldSerializeProperty(Inherited from DependencyObject)
WritePostscript(Inherited from Freezable)
WritePreamble(Inherited from Freezable)
Top

Public Events

NameDescription
Changed(Inherited from Freezable)
Top

Explicit Interface Implementations

NameDescription
System.Windows.Interactivity.IAttachedObject.AssociatedObject Gets the object to which this TriggerAction`1 is attached. (Inherited from TriggerAction)
Top

See Also