You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
Remove Animations Package reference from Controls package #3578
The Animations package is currently being pulled in as a dependency for the Controls package. However, there's only two small uses of it in the package: RangeSelector for implicit animations, and ScrollHeader for the QuickReturnHeaderBehavior.
Expected behavior
I think removing the animation for the Tooltip in RangeSelector should be simple enough. I'm not as sure what we do with ScrollHeader as a component.
But migrating these off of the animation package or moving the ScrollHeader to a different package would be a big win for our dependency graph.
This may be dependent on work we do to clean-up the Behaviors/Animations package in general with its reliance on Win2D as well.
Activity
skendrot commentedon Nov 24, 2020
I think using the composition api directly would be better than bringing in the animation package
Rosuavio commentedon Dec 4, 2020
I did some investigation on some of the interesting dependencies from the controls.
ScrollHeader
Microsoft.Xaml.Behaviors.Uwp.Managed
Microsoft.Xaml.Interactivity;Microsoft.Xaml.Interactivity.Interaction.GetBehaviors(DependencyObject obj)Microsoft.Toolkit.Uwp.UI
Microsoft.Toolkit.Uwp.UI.Extensions.VisualTree.FindAscendant<T>(this DependencyObject element)Microsoft.Toolkit.Uwp.UI.Animations
Microsoft.Toolkit.Uwp.UI.Animations.Behaviors.FadeHeaderBehaviorMicrosoft.Toolkit.Uwp.UI.Animations.Behaviors.QuickReturnHeaderBehaviorMicrosoft.Toolkit.Uwp.UI.Animations.Behaviors.StickyHeaderBehaviorTileControl
Microsoft.Toolkit.Uwp.UI
Microsoft.Toolkit.Uwp.UI.Extensions.VisualTree.FindDescendant<T>(this DependencyObject element)Microsoft.Toolkit.Uwp.UI.Animations
Microsoft.Toolkit.Uwp.UI.Animations.Expressions.ExpressionNodeMicrosoft.Toolkit.Uwp.UI.Animations.Expressions.CompositionExtensions.GetReference(this Visual compObj)Microsoft.Toolkit.Uwp.UI.Animations.Expressions.CompositionExtensions.GetSpecializedReference<T>(this CompositionPropertySet ps)Microsoft.Toolkit.Uwp.UI.Animations.Expressions.ExpressionFunctions.Ceil(ScalarNode val)Microsoft.Toolkit.Uwp.UI.Animations.Expressions.ExpressionFunctions.Conditional(BooleanNode condition, ScalarNode trueCase, ScalarNode falseCase)Microsoft.Toolkit.Uwp.UI.Animations.Expressions.ExpressionFunctions.Abs(ScalarNode val)Microsoft.Toolkit.Uwp.UI.Animations.Expressions.ManipulationPropertySetReferenceNodeOther
ImageCropper, Eyedropper, InfiniteCanvas all use a bunch of win2d.
Rosuavio commentedon Dec 8, 2020
#3611 should take care of
RangeSelectorRosuavio commentedon Dec 9, 2020
#3615 Might be hamfisted but its something to remove
TileControl's andOrbitViews dep on animation.Orbitview remove animation expressions (#3627)
TileControl: Remove Animations.Expressions usage (#3633)
michael-hawker commentedon Jan 12, 2021
This work has been completed.