Udostępnij za pośrednictwem


MediaTransportControls.IsVolumeEnabled Property

Definition

Gets or sets a value that indicates whether a user can adjust the volume of the media.

public:
 property bool IsVolumeEnabled { bool get(); void set(bool value); };
bool IsVolumeEnabled();

void IsVolumeEnabled(bool value);
public bool IsVolumeEnabled { get; set; }
var boolean = mediaTransportControls.isVolumeEnabled;
mediaTransportControls.isVolumeEnabled = boolean;
Public Property IsVolumeEnabled As Boolean
<MediaTransportControls IsVolumeEnabled="bool" .../>
    

Property Value

Boolean

bool

true to allow the user to adjust the volume; otherwise, false. The default is true.

Applies to

See also