Volume Property

Gets or sets the media's volume.

XAML
<object Volume="Double" .../>
Scripting
value = object.Volume
object.Volume = value

Property Value

Double

The media's volume represented on a linear scale between 0 and 1.

This property is read/write. The default value is 0.5.

Remarks

Volume can be difficult to quantitate because each media file has a different baseline for its recorded or perceived audio level.

Applies To

MediaElement

See Also

Media Overview
Supported Media Formats and Protocols

Community Additions

Show: