編輯

共用方式為


MediaElement.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

Dependency Property Information

Identifier field VolumeProperty
Metadata properties set to true None

Applies to