PlaySoundAction Members
An action that will play a sound to completion.
The following tables list the members exposed by the PlaySoundAction type.
Public Constructors
Name | Description | |
---|---|---|
PlaySoundAction | Initializes a new instance of the PlaySoundAction class. |
Top
Public Fields
Name | Description | |
---|---|---|
IsEnabledProperty | (Inherited from TriggerAction) | |
SourceProperty | ||
VolumeProperty |
Top
Public Properties
(see also Protected Properties)
Name | Description | |
---|---|---|
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
Name | Description | |
---|---|---|
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)
Top
Protected Methods
Name | Description | |
---|---|---|
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) | |
Freeze | Overloaded. (Inherited from Freezable) | |
FreezeCore | (Inherited from Animatable) | |
GetAsFrozenCore | (Inherited from Freezable) | |
GetCurrentValueAsFrozenCore | (Inherited from Freezable) | |
Invoke | Overridden. 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) | |
OnFreezablePropertyChanged | Overloaded. (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
Name | Description | |
---|---|---|
Changed | (Inherited from Freezable) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
System.Windows.Interactivity.IAttachedObject.AssociatedObject | Gets the object to which this TriggerAction`1 is attached. (Inherited from TriggerAction) |
Top
See Also
Reference
PlaySoundAction Class
Microsoft.Expression.Interactivity.Media Namespace