Share via


MediaTransportControls.ShowAndHideAutomatically Property

Definition

Gets or sets a value that indicates whether the controls are shown and hidden automatically.

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

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

Property Value

Boolean

bool

true if the controls are shown and hidden automatically; otherwise, false. The default is true.

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Applies to