Share via


Balance Property

Gets or sets the ratio of volume across stereo speakers.

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

Property Value

Double

The ratio of volume across speakers in the range between -1 and 1.

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

Remarks

A value of -1 represents 100 percent volume in the left-side speakers, and a value of 1 represents 100 percent volume in the right-side speakers. 0 indicates that the volume is evenly distributed between left and right speakers.

Applies To

MediaElement

See Also

MediaOpened, Source (MediaElement), Media Overview, Supported Media Formats and Protocols