ProgressBarTemplateSettings
ProgressBarTemplateSettings
ProgressBarTemplateSettings
ProgressBarTemplateSettings
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// This API is not available in Javascript.
- Inheritance
-
ProgressBarTemplateSettingsProgressBarTemplateSettingsProgressBarTemplateSettingsProgressBarTemplateSettings
- Attributes
| 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 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// This API is not available in Javascript.
- Value
- double double double double
A double that represents the orientation-specific x- or y-value that is the target "To" point of the animation.
ContainerAnimationStartPosition 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// This API is not available in Javascript.
- Value
- double double double double
A double that represents the orientation-specific x- or y-value that is the"From" point of the animation.
EllipseAnimationEndPosition 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// This API is not available in Javascript.
- Value
- double 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.
EllipseAnimationWellPosition 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// This API is not available in Javascript.
- Value
- double 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.
EllipseDiameter 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// This API is not available in Javascript.
- Value
- double double double double
The "Ellipse" element width in pixels.
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 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// This API is not available in Javascript.
- Value
- double double double double
The offset in pixels.
Remarks
EllipseOffset might be 4, 7, or 9 pixels. This is controlled by the animations that exist in default ProgressBar templates.
IndicatorLengthDelta 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// This API is not available in Javascript.
- Value
- double double double double
The delta in pixels.