Share via


ProgressBar.ShowPaused 屬性

定義

取得或設定值,這個值表示進度列是否應該使用視覺狀態來向使用者傳達 暫停 狀態。

public:
 property bool ShowPaused { bool get(); void set(bool value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
bool ShowPaused();

void ShowPaused(bool value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
bool ShowPaused();

void ShowPaused(bool value);
public bool ShowPaused { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
public bool ShowPaused { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] set; }
var boolean = progressBar.showPaused;
progressBar.showPaused = boolean;
Public Property ShowPaused As Boolean

屬性值

Boolean

bool

如果進度列應該使用與使用者通訊暫停狀態的視覺狀態,則為 true;否則為 false。 預設值為 false

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

適用於