Show / Hide Table of Contents

Class PlaySoundAction

This action will play specified sound

Inheritance
System.Object
DependencyObject
PlaySoundAction
Implements
IAction
Inherited Members
DependencyObject.DependencyObjectType
DependencyObject.IsSealed
DependencyObject.Equals(Object)
DependencyObject.GetHashCode()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.GetValue(DependencyProperty)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.GetLocalValueEnumerator()
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.OnPropertyChanged(DependencyProperty)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.SetBinding(DependencyProperty, Binding)
DependencyObject.SetResourceReference(DependencyProperty, Object)
Namespace: EmptyKeys.UserInterface.Interactions.Core
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class PlaySoundAction : DependencyObject, IAction

Fields

SourceProperty

The source property

Declaration
public static readonly DependencyProperty SourceProperty
Field Value
Type Description
DependencyProperty

Properties

Source

Gets or sets the source.

Declaration
public SoundSource Source { get; set; }
Property Value
Type Description
SoundSource

The source.

Methods

Execute(Object, Object)

Executes the action.

Declaration
public object Execute(object sender, object parameter)
Parameters
Type Name Description
System.Object sender

The System.Object that is passed to the action by the behavior. Generally this is AssociatedObject or a target object.

System.Object parameter

The value of this parameter is determined by the caller.

Returns
Type Description
System.Object

Returns the result of the action.

Remarks

An example of parameter usage is EventTriggerBehavior, which passes the EventArgs as a parameter to its actions.

Exceptions
Type Condition
System.NotImplementedException

Implements

IAction

See Also

DependencyObject
IAction
Back to top Generated by DocFX