Condividi tramite


Balance

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the ratio of volume across stereo speakers.

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

Property Value

Type: Double

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

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

Managed Equivalent

Balance

Remarks

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

Applies To

MediaElement

See Also

Reference