MediaTransportControls.ShowAndHideAutomatically 属性

定义

获取或设置一个值,该值指示控件是否自动显示和隐藏。

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" .../>

属性值

Boolean

bool

如果控件自动显示并隐藏,则为 true;否则为 false。 默认值为 true

适用于