MediaTransportControls.IsVolumeEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.