Search code examples
c#xamluwptemplate10

How do I NOT animate a list view in XAML?


This applies to UWP, how can I disable animation of list view items? I have a method that runs every few seconds, and the fly-in animation effect makes it visually displeasing. I want to disable the effect. Not much code to share, but here's my ListView:

<ListView RelativePanel.Below="pageHeader" ItemsSource="{Binding DataItems}" />

Solution

  • You have to disable the transitions:

    <ListView Transitions="{x:Null}"
              ItemContainerTransitions="{x:Null}">
    </ListView>