Modifier

Partager via


MediaPlayer.Volume Property

Definition

Gets or sets the media's volume.

public:
 property double Volume { double get(); void set(double value); };
public double Volume { get; set; }
member this.Volume : double with get, set
Public Property Volume As Double

Property Value

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

Remarks

XAML Text Usage

Not typically used in XAML.

Applies to