ProgressBar.IsIndeterminate property

Applies to Windows and Windows Phone

Gets or sets a value that indicates whether the progress bar reports generic progress with a repeating pattern or reports progress based on the Value property.

Syntax


Public Property IsIndeterminate As Boolean


<ProgressBar IsIndeterminate="bool"/>

Property value

Type: System.Boolean [.NET] | Platform::Boolean [C++]

True if the progress bar reports generic progress with a repeating pattern; false if the progress bar reports progress based on the Value property. The default is false.

Remarks

Tip  When the ProgressBar is indeterminate, the progress animation continues even if it's not visible on the screen, such as when the ProgressBar Visibility is Collapsed. This can keep the UI thread awake, use resources, and impair app performance. When the ProgressBar is not visible, you should disable the animation by setting IsIndeterminate to false.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

ProgressBar

 

 

Show:
© 2014 Microsoft