ProgressRing.IsActive property

Applies to Windows and Windows Phone

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

Syntax


public bool IsActive { get; set; }


<ProgressRing IsActive="bool" />

Property value

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

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.

Tip  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.

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

ProgressRing

 

 

Show:
© 2014 Microsoft