Merge pull request #4466 from Morgomirius/patch-1
Fixed DependencyProperty assign exception.
This commit is contained in:
Коммит
6d300f0fc2
|
@ -29,7 +29,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Behaviors
|
|||
public static readonly DependencyProperty AnimationProperty = DependencyProperty.Register(
|
||||
nameof(Animation),
|
||||
typeof(AnimationSet),
|
||||
typeof(StartAnimationAction),
|
||||
typeof(StopAnimationAction),
|
||||
new PropertyMetadata(null));
|
||||
|
||||
/// <summary>
|
||||
|
@ -47,7 +47,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Behaviors
|
|||
public static readonly DependencyProperty TargetObjectProperty = DependencyProperty.Register(
|
||||
nameof(TargetObject),
|
||||
typeof(UIElement),
|
||||
typeof(StartAnimationActivity),
|
||||
typeof(StopAnimationAction),
|
||||
new PropertyMetadata(null));
|
||||
|
||||
/// <inheritdoc/>
|
||||
|
@ -78,4 +78,4 @@ namespace Microsoft.Toolkit.Uwp.UI.Behaviors
|
|||
static void ThrowArgumentNullException() => throw new ArgumentNullException(nameof(Animation));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче