Item Transitions
ItemTransitions adds item animations to a CollectionView (or any ItemsView). It can switch the platform’s insert, remove and move animations off, play a Keyframes on items as they first appear (staggered, for a list entrance) or as they are added, and animate an item out before it is removed.
<CollectionView ItemsSource="{Binding Items}" kf:ItemTransitions.Mode="None" kf:ItemTransitions.Appear="{StaticResource FadeUp}" kf:ItemTransitions.Add="{StaticResource PopIn}" kf:ItemTransitions.Remove="{StaticResource SlideOut}" kf:ItemTransitions.Stagger="0:0:0.04" />await ItemTransitions.RemoveAsync(List, item, () => Items.Remove(item));| Attached property | Default | Notes |
|---|---|---|
Mode |
Platform |
None switches the native item animations off. |
Appear |
— | Played on each item the first time a view shows it. |
Add |
— | Played on items added to the source after load. Falls back to Appear. |
Remove |
— | Played by RemoveAsync before the item is removed. |
Stagger |
0:0:0.04 |
Delay between items that appear together. At most 12 steps are taken. |
- Appear plays once per item. Scrolling back to an item doesn’t replay it; a recycled view that shows a new item does.
AppearandAddtimelines get a backwards fill automatically, so a staggered item holds its opening pose instead of flashing in its final one. - Remove is a call, not a hook. Once an item has left the source the platform tears its view down at once, so
RemoveAsyncplays the animation on the item’s view first and then runs your removal. If the item isn’t on screen, it is removed straight away. - Moves use the platform’s animation, or nothing under
Mode="None". - The off switch, by platform: Android sets
SetItemAnimator(null); iOS and Mac Catalyst collapse the collection view’s layer animations; Windows clears the item container transitions. The AppKit and GTK heads have no native item animations to remove. - Reduced motion applies, as everywhere else.


