I can't get EntranceThemeTransition to work on a custom panel as ItemsPanelTemplate. See:
Simplest code behind:
public List<int> MyListExample = new List<int>() {0, 1, 2, 3, 4, 5};
Simplest XAML:
<ListView Width="120" ItemsSource="{x:Bind MyListExample}">
<ListView.ItemContainerTransitions>
<TransitionCollection>
<EntranceThemeTransition FromVerticalOffset="200" IsStaggeringEnabled="True"/>
</TransitionCollection>
</ListView.ItemContainerTransitions>
<ListView.ItemsPanel>
<ItemsPanelTemplate>
<!--EntranceThemeTransition WORKS-->
<ItemsWrapGrid/>
<!--EntranceThemeTransition does NOT work-->
<!--<StackPanel/>-->
<!--EntranceThemeTransition does NOT work. goal: make this work-->
<!--<local:FluidPanel/>-->
</ItemsPanelTemplate>
</ListView.ItemsPanel>
</ListView>
Any idea how to make the animation works?
PS: I put a Debug.WriteLine on the Loaded event, it's being called twice and I have no idea why. This might be causing the problem, because this animation is only triggered once. Possibly is being triggered before the ItemsSource being added.
PS2: It only happens when using ItemsSource. If I add the elements directly on the ListView XAML it shows the animation.
(also on MSDN)