Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MediaElement.Balance Property

Gets or sets a ratio of volume across stereo speakers.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)

public double Balance { get; set; }
<MediaElement Balance="double"  .../>

Property Value

Type: System.Double
The ratio of volume across speakers in the range between -1 and 1. The default value is 0.

Dependency property identifier field: BalanceProperty

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.

Platform Notes

Silverlight for Windows Phone Silverlight for Windows Phone

 This property always returns 1 in Silverlight for Windows Phone.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

Show:
© 2017 Microsoft