MediaElement.Volume Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the media's volume.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<MediaElement Volume="double"/>
Property Value
Type: System.DoubleThe media's volume represented on a linear scale between 0 and 1. The default is 0.5.
Dependency property identifier field: VolumeProperty
Volume can be difficult to quantify because each media file has a different baseline for its recorded or perceived audio level. Also, true audio volume as represented on the decibel scale is inherently logarithmic. You can think of the Volume property as representing the position value of an audio mixer slider control, with 0 being all the way down and 1 being all the way up. The default value for the Volume property is 0.85.