IsIndeterminate Property
Collapse the table of content
Expand the table of content

ProgressBar.IsIndeterminate Property

Gets or sets whether the ProgressBar shows actual values or generic, continuous progress feedback.

Namespace: System.Windows.Controls
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace:

public bool IsIndeterminate { get; set; }
/** @property */
public boolean get_IsIndeterminate ()

/** @property */
public void set_IsIndeterminate (boolean value)

public function get IsIndeterminate () : boolean

public function set IsIndeterminate (value : boolean)

<object IsIndeterminate="bool" .../>

Property Value

This value is false if the ProgressBar shows actual values. If the ProgressBar shows generic progress, the value is true. The default value is false.

The following example sets the IsIndeterminate property to false to create a ProgressBar that shows actual values.

ProgressBar progbar = new ProgressBar();
progbar.IsIndeterminate = false;
progbar.Orientation = Orientation.Horizontal;
progbar.Width = 150;
progbar.Height = 15;
Duration duration = new Duration(TimeSpan.FromSeconds(10));
DoubleAnimation doubleanimation = new DoubleAnimation(100.0, duration);
progbar.BeginAnimation(ProgressBar.ValueProperty, doubleanimation);

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

© 2015 Microsoft