ProgressBarTemplateSettings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a ProgressBar control. Not intended for general use.
public ref class ProgressBarTemplateSettings sealed : DependencyObject
/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyNeedsDependencyPropertyField]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Version(1)]
class ProgressBarTemplateSettings final : DependencyObject
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyNeedsDependencyPropertyField]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
class ProgressBarTemplateSettings final : DependencyObject
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyNeedsDependencyPropertyField]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class ProgressBarTemplateSettings : DependencyObject
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyNeedsDependencyPropertyField]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public sealed class ProgressBarTemplateSettings : DependencyObject
Public NotInheritable Class ProgressBarTemplateSettings
Inherits DependencyObject
- Inheritance
- Attributes
-
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute Microsoft.UI.Xaml.CustomAttributes.MUXPropertyNeedsDependencyPropertyFieldAttribute MarshalingBehaviorAttribute ThreadingAttribute VersionAttribute ContractVersionAttribute
Remarks
Get instances of ProgressBarTemplateSettings by querying the value of ProgressBar.TemplateSettings.
The values from ProgressBarTemplateSettings are typically used as either the "To" or "From" values of theme animations or transitions.
Properties
ClipRect |
Gets the Rect that describes the clipped area of the ProgressBar. |
Container2AnimationEndPosition |
Gets the target "To" point of the secondary container animation that animates the ProgressBar. |
Container2AnimationStartPosition |
Gets the "From" point of the secondary container animation that animates the ProgressBar. |
ContainerAnimationEndPosition |
Gets the target "To" point of the primary container animation that animates the ProgressBar. |
ContainerAnimationMidPosition |
Gets the target midpoint of the container animation that animates the ProgressBar. |
ContainerAnimationStartPosition |
Gets the "From" point of the primary container animation that animates the ProgressBar. |
Dispatcher |
Always returns |
DispatcherQueue |
Gets the |
EllipseAnimationEndPosition |
Gets the "To" point of the "Ellipse" animation that animates the ProgressBar. |
EllipseAnimationWellPosition |
Gets the stopped point of the "Ellipse" animation that animates the ProgressBar. |
EllipseDiameter |
Gets the template-defined diameter of the "Ellipse" element that is animated in a templated ProgressBar. |
EllipseOffset |
Gets the template-defined offset poisition of the "Ellipse" element that is animated in a templated ProgressBar. |
IndicatorLengthDelta |
Gets the indicator length delta, which is useful for repositioning transitions. |
Methods
ClearValue(DependencyProperty) |
Clears the local value of a dependency property. (Inherited from DependencyObject) |
GetAnimationBaseValue(DependencyProperty) |
Returns any base value established for a dependency property, which would apply in cases where an animation is not active. (Inherited from DependencyObject) |
GetValue(DependencyProperty) |
Returns the current effective value of a dependency property from a DependencyObject. (Inherited from DependencyObject) |
ReadLocalValue(DependencyProperty) |
Returns the local value of a dependency property, if a local value is set. (Inherited from DependencyObject) |
RegisterPropertyChangedCallback(DependencyProperty, DependencyPropertyChangedCallback) |
Registers a notification function for listening to changes to a specific DependencyProperty on this DependencyObject instance. (Inherited from DependencyObject) |
SetValue(DependencyProperty, Object) |
Sets the local value of a dependency property on a DependencyObject. (Inherited from DependencyObject) |
UnregisterPropertyChangedCallback(DependencyProperty, Int64) |
Cancels a change notification that was previously registered by calling RegisterPropertyChangedCallback. (Inherited from DependencyObject) |