Skip to content

[Repeater] TransitionManager + ItemTransitionProvider property (replaces AnimationManager) #22905

Closed

Description

@MartinZikmund

Scope

Port TransitionManager, add ItemTransitionProvider DP to ItemsRepeater, and rewire the animation system from AnimationManager → TransitionManager. The old Animator/AnimationManager/ElementAnimator are kept with [Obsolete] for backward compatibility.

WinUI sources to port

  • TransitionManager.h/.cpp — Lifecycle bridge between ItemsRepeater and ItemCollectionTransitionProvider

Uno files to create

  • src/Uno.UI/UI/Xaml/Controls/Repeater/TransitionManager.cs

Uno files to modify

  • src/Uno.UI/UI/Xaml/Controls/Repeater/ItemsRepeater.cs — Replace m_animationManager with m_transitionManager, add m_ownsTransitionProvider, update all call sites
  • src/Uno.UI/UI/Xaml/Controls/Repeater/ItemsRepeater.Properties.cs — Add ItemTransitionProvider DP + property, mark Animator as [Obsolete]
  • src/Uno.UI/UI/Xaml/Controls/Repeater/ViewManager.cs — Update animator references to use TransitionManager
  • src/Uno.UI/Generated/.../ItemsRepeater.cs — Wrap ItemTransitionProvider stub in #if false

API tests to port

  • RepeaterTests.cs delta — tests verifying ItemTransitionProvider property behavior (setting, clearing, default value); update existing animation-related tests to also cover the new property

Porting rules

All work must follow .github/agents/winui-porting-agent.md and the /winui-port skill.

Dependencies

Requires #22904 (ItemCollectionTransitionProvider types must exist).

Risk / Complexity

🔴 High risk · Large — replaces the entire animation/transition system; touches ItemsRepeater core and ViewManager

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions