PlaySoundAction.Volume Property
Gets or set the volume of the sound. This is used to set the Volume property of the MediaElement. This is a dependency property.
Namespace: Microsoft.Xaml.Interactions.Media
Assembly: Microsoft.Xaml.Interactions (in Microsoft.Xaml.Interactions.dll)
Syntax
'Declaration
Public Property Volume As Double
public double Volume { get; set; }
public:
property double Volume {
double get ();
void set (double value);
}
member Volume : float with get, set
function get Volume () : double
function set Volume (value : double)
Property Value
Type: System.Double
The volume of the sound.
Remarks
By default this is set to 0.5.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.