Progress​Bar​Template​Settings Progress​Bar​Template​Settings Progress​Bar​Template​Settings Class

Definition

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

public sealed class ProgressBarTemplateSettings : DependencyObject, IProgressBarTemplateSettingspublic sealed class ProgressBarTemplateSettings : DependencyObject, IProgressBarTemplateSettingsPublic NotInheritable Class ProgressBarTemplateSettings Inherits DependencyObject Implements IProgressBarTemplateSettings
Inheritance
ProgressBarTemplateSettingsProgressBarTemplateSettingsProgressBarTemplateSettings
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 ProgressBarTemplateSettings by querying the value of TemplateSettings.

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

Properties

ContainerAnimationEndPosition ContainerAnimationEndPosition ContainerAnimationEndPosition

Gets the target "To" point of the container animation that animates the ProgressBar.

public double ContainerAnimationEndPosition { get; }public double ContainerAnimationEndPosition { get; }Public ReadOnly Property ContainerAnimationEndPosition As double
Value
double double double

A double that represents the orientation-specific x- or y-value that is the target "To" point of the animation.

Attributes

ContainerAnimationStartPosition ContainerAnimationStartPosition ContainerAnimationStartPosition

Gets the "From" point of the container animation that animates the ProgressBar.

public double ContainerAnimationStartPosition { get; }public double ContainerAnimationStartPosition { get; }Public ReadOnly Property ContainerAnimationStartPosition As double
Value
double double double

A double that represents the orientation-specific x- or y-value that is the"From" point of the animation.

Attributes

EllipseAnimationEndPosition EllipseAnimationEndPosition EllipseAnimationEndPosition

Gets the "To" point of the "Ellipse" animation that animates the ProgressBar.

public double EllipseAnimationEndPosition { get; }public double EllipseAnimationEndPosition { get; }Public ReadOnly Property EllipseAnimationEndPosition As double
Value
double double double

The "To" point of the "Ellipse" animation that animates the ProgressBar. This is internally calculated as 2/3 of the ActualWidth of the control.

Attributes

EllipseAnimationWellPosition EllipseAnimationWellPosition EllipseAnimationWellPosition

Gets the stopped point of the "Ellipse" animation that animates the ProgressBar.

public double EllipseAnimationWellPosition { get; }public double EllipseAnimationWellPosition { get; }Public ReadOnly Property EllipseAnimationWellPosition As double
Value
double double double

The stopped point of the Ellipse animation that animates the ProgressBar. This is internally calculated as 1/3 of the ActualWidth of the control.

Attributes

EllipseDiameter EllipseDiameter EllipseDiameter

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

public double EllipseDiameter { get; }public double EllipseDiameter { get; }Public ReadOnly Property EllipseDiameter As double
Value
double double double

The "Ellipse" element width in pixels.

Attributes

Remarks

This value might be 4, 5, or 6 pixels. This is controlled by the animations that exist in default ProgressBar templates.

EllipseOffset EllipseOffset EllipseOffset

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

public double EllipseOffset { get; }public double EllipseOffset { get; }Public ReadOnly Property EllipseOffset As double
Value
double double double

The offset in pixels.

Attributes

Remarks

EllipseOffset might be 4, 7, or 9 pixels. This is controlled by the animations that exist in default ProgressBar templates.

IndicatorLengthDelta IndicatorLengthDelta IndicatorLengthDelta

Gets the indicator length delta, which is useful for repositioning transitions.

public double IndicatorLengthDelta { get; }public double IndicatorLengthDelta { get; }Public ReadOnly Property IndicatorLengthDelta As double
Value
double double double

The delta in pixels.

Attributes