Skip to content

Commit 6d300f0

Browse files
Merge pull request #4466 from Morgomirius/patch-1
Fixed DependencyProperty assign exception.
2 parents b751d87 + c7c7717 commit 6d300f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Microsoft.Toolkit.Uwp.UI.Behaviors/Animations/StopAnimationAction.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public AnimationSet Animation
2929
public static readonly DependencyProperty AnimationProperty = DependencyProperty.Register(
3030
nameof(Animation),
3131
typeof(AnimationSet),
32-
typeof(StartAnimationAction),
32+
typeof(StopAnimationAction),
3333
new PropertyMetadata(null));
3434

3535
/// <summary>
@@ -47,7 +47,7 @@ public UIElement TargetObject
4747
public static readonly DependencyProperty TargetObjectProperty = DependencyProperty.Register(
4848
nameof(TargetObject),
4949
typeof(UIElement),
50-
typeof(StartAnimationActivity),
50+
typeof(StopAnimationAction),
5151
new PropertyMetadata(null));
5252

5353
/// <inheritdoc/>
@@ -78,4 +78,4 @@ public object Execute(object sender, object parameter)
7878
static void ThrowArgumentNullException() => throw new ArgumentNullException(nameof(Animation));
7979
}
8080
}
81-
}
81+
}

0 commit comments

Comments
 (0)