|
@@ -22,7 +22,7 @@ namespace Avalonia.Animation
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
public static readonly DirectProperty<Animation, TimeSpan> DurationProperty =
|
|
public static readonly DirectProperty<Animation, TimeSpan> DurationProperty =
|
|
|
AvaloniaProperty.RegisterDirect<Animation, TimeSpan>(
|
|
AvaloniaProperty.RegisterDirect<Animation, TimeSpan>(
|
|
|
- nameof(_duration),
|
|
|
|
|
|
|
+ nameof(Duration),
|
|
|
o => o._duration,
|
|
o => o._duration,
|
|
|
(o, v) => o._duration = v);
|
|
(o, v) => o._duration = v);
|
|
|
|
|
|
|
@@ -31,7 +31,7 @@ namespace Avalonia.Animation
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
public static readonly DirectProperty<Animation, IterationCount> IterationCountProperty =
|
|
public static readonly DirectProperty<Animation, IterationCount> IterationCountProperty =
|
|
|
AvaloniaProperty.RegisterDirect<Animation, IterationCount>(
|
|
AvaloniaProperty.RegisterDirect<Animation, IterationCount>(
|
|
|
- nameof(_iterationCount),
|
|
|
|
|
|
|
+ nameof(IterationCount),
|
|
|
o => o._iterationCount,
|
|
o => o._iterationCount,
|
|
|
(o, v) => o._iterationCount = v);
|
|
(o, v) => o._iterationCount = v);
|
|
|
|
|
|
|
@@ -40,7 +40,7 @@ namespace Avalonia.Animation
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
public static readonly DirectProperty<Animation, PlaybackDirection> PlaybackDirectionProperty =
|
|
public static readonly DirectProperty<Animation, PlaybackDirection> PlaybackDirectionProperty =
|
|
|
AvaloniaProperty.RegisterDirect<Animation, PlaybackDirection>(
|
|
AvaloniaProperty.RegisterDirect<Animation, PlaybackDirection>(
|
|
|
- nameof(_playbackDirection),
|
|
|
|
|
|
|
+ nameof(PlaybackDirection),
|
|
|
o => o._playbackDirection,
|
|
o => o._playbackDirection,
|
|
|
(o, v) => o._playbackDirection = v);
|
|
(o, v) => o._playbackDirection = v);
|
|
|
|
|
|
|
@@ -49,7 +49,7 @@ namespace Avalonia.Animation
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
public static readonly DirectProperty<Animation, FillMode> FillModeProperty =
|
|
public static readonly DirectProperty<Animation, FillMode> FillModeProperty =
|
|
|
AvaloniaProperty.RegisterDirect<Animation, FillMode>(
|
|
AvaloniaProperty.RegisterDirect<Animation, FillMode>(
|
|
|
- nameof(_fillMode),
|
|
|
|
|
|
|
+ nameof(FillMode),
|
|
|
o => o._fillMode,
|
|
o => o._fillMode,
|
|
|
(o, v) => o._fillMode = v);
|
|
(o, v) => o._fillMode = v);
|
|
|
|
|
|
|
@@ -58,7 +58,7 @@ namespace Avalonia.Animation
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
public static readonly DirectProperty<Animation, Easing> EasingProperty =
|
|
public static readonly DirectProperty<Animation, Easing> EasingProperty =
|
|
|
AvaloniaProperty.RegisterDirect<Animation, Easing>(
|
|
AvaloniaProperty.RegisterDirect<Animation, Easing>(
|
|
|
- nameof(_easing),
|
|
|
|
|
|
|
+ nameof(Easing),
|
|
|
o => o._easing,
|
|
o => o._easing,
|
|
|
(o, v) => o._easing = v);
|
|
(o, v) => o._easing = v);
|
|
|
|
|
|
|
@@ -67,7 +67,7 @@ namespace Avalonia.Animation
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
public static readonly DirectProperty<Animation, TimeSpan> DelayProperty =
|
|
public static readonly DirectProperty<Animation, TimeSpan> DelayProperty =
|
|
|
AvaloniaProperty.RegisterDirect<Animation, TimeSpan>(
|
|
AvaloniaProperty.RegisterDirect<Animation, TimeSpan>(
|
|
|
- nameof(_delay),
|
|
|
|
|
|
|
+ nameof(Delay),
|
|
|
o => o._delay,
|
|
o => o._delay,
|
|
|
(o, v) => o._delay = v);
|
|
(o, v) => o._delay = v);
|
|
|
|
|
|
|
@@ -76,7 +76,7 @@ namespace Avalonia.Animation
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
public static readonly DirectProperty<Animation, TimeSpan> DelayBetweenIterationsProperty =
|
|
public static readonly DirectProperty<Animation, TimeSpan> DelayBetweenIterationsProperty =
|
|
|
AvaloniaProperty.RegisterDirect<Animation, TimeSpan>(
|
|
AvaloniaProperty.RegisterDirect<Animation, TimeSpan>(
|
|
|
- nameof(_delayBetweenIterations),
|
|
|
|
|
|
|
+ nameof(DelayBetweenIterations),
|
|
|
o => o._delayBetweenIterations,
|
|
o => o._delayBetweenIterations,
|
|
|
(o, v) => o._delayBetweenIterations = v);
|
|
(o, v) => o._delayBetweenIterations = v);
|
|
|
|
|
|
|
@@ -85,7 +85,7 @@ namespace Avalonia.Animation
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
public static readonly DirectProperty<Animation, double> SpeedRatioProperty =
|
|
public static readonly DirectProperty<Animation, double> SpeedRatioProperty =
|
|
|
AvaloniaProperty.RegisterDirect<Animation, double>(
|
|
AvaloniaProperty.RegisterDirect<Animation, double>(
|
|
|
- nameof(_speedRatio),
|
|
|
|
|
|
|
+ nameof(SpeedRatio),
|
|
|
o => o._speedRatio,
|
|
o => o._speedRatio,
|
|
|
(o, v) => o._speedRatio = v,
|
|
(o, v) => o._speedRatio = v,
|
|
|
defaultBindingMode: BindingMode.TwoWay);
|
|
defaultBindingMode: BindingMode.TwoWay);
|