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, IProgressBarTemplateSettings
public sealed class ProgressBarTemplateSettings : DependencyObject, IProgressBarTemplateSettings
Public 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)

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.

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.

Dispatcher Dispatcher Dispatcher

Inherited from DependencyObject

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.

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.

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.

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.

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.

Methods

ClearValue(DependencyProperty) ClearValue(DependencyProperty) ClearValue(DependencyProperty)

Inherited from DependencyObject

GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty)

Inherited from DependencyObject

GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty)

Inherited from DependencyObject

ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty)

Inherited from DependencyObject

RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)

Inherited from DependencyObject

SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object)

Inherited from DependencyObject

UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64)

Inherited from DependencyObject

See Also