MediaElement.Volume Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the media's volume.
public:
property double Volume { double get(); void set(double value); };
double Volume();
void Volume(double value);
public double Volume { get; set; }
var double = mediaElement.volume;
mediaElement.volume = double;
Public Property Volume As Double
<MediaElement Volume="double"/>
Property Value
Double
double
The media's volume represented on a linear scale between 0 and 1. The default is 0.5.