ProgressRing.IsActive Property

Definition

Gets or sets a value that indicates whether the ProgressRing is showing progress.

public:
 property bool IsActive { bool get(); void set(bool value); };
bool IsActive();

void IsActive(bool value);
public bool IsActive { get; set; }
var boolean = progressRing.isActive;
progressRing.isActive = boolean;
Public Property IsActive As Boolean
<ProgressRing IsActive="bool" />

Property Value

Boolean

bool

True if the ProgressRing is showing progress; otherwise, false. The default is false.

Remarks

Set the IsActive property to turn the ProgressRing on or off. If IsActive is false, the ProgressRing is not shown, but space is reserved for it in the UI layout. To not reserve space for the ProgressRing, set its Visibility property to Collapsed.

Notes for Windows 8.x

Windows 8.x In an app compiled for Windows 8, when the ProgressRing is active, the progress animation continues even if its not visible on the screen, such as when its Visibility is Collapsed. This can keep the UI thread awake, use resources, and impair app performance. When the ProgressRing is not visible, you should disable the animation by setting IsActive to false.

Applies to