Share via


MediaElement.Balance Property

Definition

Gets or sets a ratio of volume across stereo speakers.

public:
 property double Balance { double get(); void set(double value); };
double Balance();

void Balance(double value);
public double Balance { get; set; }
var double = mediaElement.balance;
mediaElement.balance = double;
Public Property Balance As Double
<MediaElement Balance="double"  .../>

Property Value

Double

double

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

Applies to