Share via


ProgressBar.IsIndeterminate 屬性

定義

取得或設定值,這個值表示進度列是否使用重複模式報告一般進度,或根據 Value 屬性報告進度。

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

如果進度列報告具有重複模式的一般進度,則為 true;如果進度列會根據 Value 屬性報告進度,則為 false。 預設值為 false

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

適用於