Class ProgressBarChrome
Provides improved animation styling for ProgressBar controls.
Inheritance
ProgressBarChrome
Inherited Members
Namespace: PresentationTheme.AeroLite.Win10
Assembly: PresentationTheme.AeroLite.Win10.dll
Syntax
[TemplatePart(Name = "PART_Track", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "PART_Indicator", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "PART_MoveOverlay", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "PART_PulseOverlay", Type = typeof(FrameworkElement))]
public class ProgressBarChrome : RangeBase, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient
Constructors
| Improve this Doc View SourceProgressBarChrome()
Initializes a new instance of the ProgressBarChrome class.
Declaration
public ProgressBarChrome()
Fields
| Improve this Doc View SourceIsIndeterminateProperty
Identifies the IsIndeterminate dependency property.
Declaration
public static readonly DependencyProperty IsIndeterminateProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
OrientationProperty
Identifies the Orientation dependency property.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceIsIndeterminate
Gets or sets whether the ProgressBarChrome shows actual values or generic, continuous progress feedback.
Declaration
public bool IsIndeterminate { get; set; }
Property Value
Type | Description |
---|---|
Boolean | false if the ProgressBarChrome shows actual values; true if the ProgressBarChrome shows generic progress. The default is false. |
Remarks
Dependency Property Information
Identifier field | IsIndeterminateProperty |
Metadata properties set to true | None |
Orientation
Gets or sets the orientation of the progress bar chrome.
Declaration
public Orientation Orientation { get; set; }
Property Value
Type | Description |
---|---|
Orientation | An Orientation enumeration value that defines whether the ProgressBarChrome is displayed horizontally or vertically. The default is Horizontal. |
Remarks
Dependency Property Information
Identifier field | OrientationProperty |
Metadata properties set to true | AffectsMeasure |
Methods
| Improve this Doc View SourceOnApplyTemplate()
Declaration
public override void OnApplyTemplate()
Overrides
| Improve this Doc View SourceOnMaximumChanged(Double, Double)
Declaration
protected override void OnMaximumChanged(double oldMaximum, double newMaximum)
Parameters
Type | Name | Description |
---|---|---|
Double | oldMaximum | |
Double | newMaximum |
Overrides
| Improve this Doc View SourceOnMinimumChanged(Double, Double)
Declaration
protected override void OnMinimumChanged(double oldMinimum, double newMinimum)
Parameters
Type | Name | Description |
---|---|---|
Double | oldMinimum | |
Double | newMinimum |
Overrides
| Improve this Doc View SourceOnValueChanged(Double, Double)
Declaration
protected override void OnValueChanged(double oldValue, double newValue)
Parameters
Type | Name | Description |
---|---|---|
Double | oldValue | |
Double | newValue |