ProgressRingTemplateSettings ProgressRingTemplateSettings ProgressRingTemplateSettings ProgressRingTemplateSettings Class

Definition

Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a ProgressRing control. Not intended for general use.

public : sealed class ProgressRingTemplateSettings : DependencyObject, IProgressRingTemplateSettingspublic sealed class ProgressRingTemplateSettings : DependencyObject, IProgressRingTemplateSettingsPublic NotInheritable Class ProgressRingTemplateSettings Inherits DependencyObject Implements IProgressRingTemplateSettings// This API is not available in Javascript.
Inheritance
ProgressRingTemplateSettingsProgressRingTemplateSettingsProgressRingTemplateSettingsProgressRingTemplateSettings
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited methods

Inherited properties

Remarks

Get instances of ProgressRingTemplateSettings by querying the value of TemplateSettings.

The values from ProgressRingTemplateSettings are typically used as either the "To" or "From" values of theme animations or transitions.

Properties

EllipseDiameter EllipseDiameter EllipseDiameter EllipseDiameter

Gets the template-defined diameter of the "Ellipse" element that is animated in a templated ProgressRing.

public : double EllipseDiameter { get; }public double EllipseDiameter { get; }Public ReadOnly Property EllipseDiameter As double// This API is not available in Javascript.
Value
double double double double

The "Ellipse" width in pixels.

Remarks

This value might be 4, 5, or 6 pixels in size depending on progress and state.

EllipseOffset EllipseOffset EllipseOffset EllipseOffset

Gets the template-defined offset position of the "Ellipse" element that is animated in a templated ProgressRing.

public : Thickness EllipseOffset { get; }public Thickness EllipseOffset { get; }Public ReadOnly Property EllipseOffset As Thickness// This API is not available in Javascript.
Value
Thickness Thickness Thickness Thickness

The offset in pixels.

Remarks

EllipseOffset alternates between 4, 7, and 9 pixels. This is controlled by the animations that exist in default ProgressRing templates.

MaxSideLength MaxSideLength MaxSideLength MaxSideLength

Gets the maximum bounding size of the progress ring as rendered.

public : double MaxSideLength { get; }public double MaxSideLength { get; }Public ReadOnly Property MaxSideLength As double// This API is not available in Javascript.
Value
double double double double

The maximum bounding size of the progress ring as rendered, in pixels.

See Also