語言

ProgressBar.IsIndeterminate 屬性

定義

取得或設定一個值,指示進度條是報告帶有重複模式的一般進度,還是根據 價值 屬性回報進度。

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

void IsIndeterminate(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 IsIndeterminate();

void IsIndeterminate(bool value);
public bool IsIndeterminate { [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 IsIndeterminate { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] set; }
var boolean = progressBar.isIndeterminate;
progressBar.isIndeterminate = boolean;
Public Property IsIndeterminate As Boolean

屬性值

Boolean

bool

若進度條報告的是具有重複模式的通用進度,則為真;如果進度條根據價值屬性回報進度,則為假。 預設值為 false。

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

適用於