diff --git a/src/Avalonia.Controls/ProgressBar.cs b/src/Avalonia.Controls/ProgressBar.cs
index 6bada2c6d8..337ec868d0 100644
--- a/src/Avalonia.Controls/ProgressBar.cs
+++ b/src/Avalonia.Controls/ProgressBar.cs
@@ -32,6 +32,9 @@ namespace Avalonia.Controls
private double _container2AnimationStartPosition;
private double _container2AnimationEndPosition;
+ ///
+ /// Defines the property.
+ ///
public static readonly DirectProperty
ContainerAnimationStartPositionProperty =
AvaloniaProperty.RegisterDirect(
@@ -39,6 +42,9 @@ namespace Avalonia.Controls
p => p.ContainerAnimationStartPosition,
(p, o) => p.ContainerAnimationStartPosition = o);
+ ///
+ /// Defines the property.
+ ///
public static readonly DirectProperty
ContainerAnimationEndPositionProperty =
AvaloniaProperty.RegisterDirect(
@@ -46,6 +52,9 @@ namespace Avalonia.Controls
p => p.ContainerAnimationEndPosition,
(p, o) => p.ContainerAnimationEndPosition = o);
+ ///
+ /// Defines the property.
+ ///
public static readonly DirectProperty
Container2AnimationStartPositionProperty =
AvaloniaProperty.RegisterDirect(
@@ -53,6 +62,9 @@ namespace Avalonia.Controls
p => p.Container2AnimationStartPosition,
(p, o) => p.Container2AnimationStartPosition = o);
+ ///
+ /// Defines the property.
+ ///
public static readonly DirectProperty
Container2AnimationEndPositionProperty =
AvaloniaProperty.RegisterDirect(
@@ -60,24 +72,57 @@ namespace Avalonia.Controls
p => p.Container2AnimationEndPosition,
(p, o) => p.Container2AnimationEndPosition = o);
+ ///
+ /// Defines the property.
+ ///
public static readonly DirectProperty Container2WidthProperty =
AvaloniaProperty.RegisterDirect(
nameof(Container2Width),
p => p.Container2Width,
(p, o) => p.Container2Width = o);
+ ///
+ /// Defines the property.
+ ///
public static readonly DirectProperty ContainerWidthProperty =
AvaloniaProperty.RegisterDirect(
nameof(ContainerWidth),
p => p.ContainerWidth,
(p, o) => p.ContainerWidth = o);
+ ///
+ /// Defines the property.
+ ///
public static readonly StyledProperty IndeterminateStartingOffsetProperty =
AvaloniaProperty.Register(nameof(IndeterminateStartingOffset));
+ ///
+ /// Defines the property.
+ ///
public static readonly StyledProperty IndeterminateEndingOffsetProperty =
AvaloniaProperty.Register(nameof(IndeterminateEndingOffset));
+ ///
+ /// Used by to define the first indeterminate indicator's width.
+ ///
+ public double ContainerWidth
+ {
+ get => _containerWidth;
+ set => SetAndRaise(ContainerWidthProperty, ref _containerWidth, value);
+ }
+
+ ///
+ /// Used by to define the second indeterminate indicator's width.
+ ///
+ public double Container2Width
+ {
+ get => _container2Width;
+ set => SetAndRaise(Container2WidthProperty, ref _container2Width, value);
+ }
+
+ ///
+ /// Used by to define the first indeterminate indicator's start position when animated.
+ ///
public double ContainerAnimationStartPosition
{
get => _containerAnimationStartPosition;
@@ -85,43 +130,46 @@ namespace Avalonia.Controls
value);
}
+ ///
+ /// Used by to define the first indeterminate indicator's end position when animated.
+ ///
public double ContainerAnimationEndPosition
{
get => _containerAnimationEndPosition;
set => SetAndRaise(ContainerAnimationEndPositionProperty, ref _containerAnimationEndPosition, value);
}
+ ///
+ /// Used by to define the second indeterminate indicator's start position when animated.
+ ///
public double Container2AnimationStartPosition
{
get => _container2AnimationStartPosition;
set => SetAndRaise(Container2AnimationStartPositionProperty, ref _container2AnimationStartPosition,
value);
}
-
- public double Container2Width
- {
- get => _container2Width;
- set => SetAndRaise(Container2WidthProperty, ref _container2Width, value);
- }
-
- public double ContainerWidth
- {
- get => _containerWidth;
- set => SetAndRaise(ContainerWidthProperty, ref _containerWidth, value);
- }
-
+
+ ///
+ /// Used by to define the second indeterminate indicator's end position when animated.
+ ///
public double Container2AnimationEndPosition
{
get => _container2AnimationEndPosition;
set => SetAndRaise(Container2AnimationEndPositionProperty, ref _container2AnimationEndPosition, value);
}
+ ///
+ /// Used by to define the starting point of its indeterminate animation.
+ ///
public double IndeterminateStartingOffset
{
get => GetValue(IndeterminateStartingOffsetProperty);
set => SetValue(IndeterminateStartingOffsetProperty, value);
}
+ ///
+ /// Used by to define the ending point of its indeterminate animation.
+ ///
public double IndeterminateEndingOffset
{
get => GetValue(IndeterminateEndingOffsetProperty);