ProgressRing.IsActive ProgressRing.IsActive ProgressRing.IsActive ProgressRing.IsActive Property

Definition

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

public : Platform::Boolean IsActive { get; set; }
bool IsActive();

void IsActive(bool isactive);
public bool IsActive { get; set; }
Public ReadWrite Property IsActive As bool
<ProgressRing IsActive="bool" />

Property Value

bool 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 it's 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 it's 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.