How to remove ListView's add item animation?

后端 未结 7 2231
攒了一身酷
攒了一身酷 2021-02-14 06:26

I have a ListView and I edited its ItemContainerStyle to modify some style but I don\'t know how to remove that annoying animation when you add an item

相关标签:
7条回答
  • 2021-02-14 07:03

    Beside the suggested ItemContainerTransitions removal, there's an additional animation you might want to remove.

    In the ListViewItem template there's a transform animation called ContentPresenterTranslateTransform, it slides the item content into place. You can just remove that animation from template's storyboards.

    0 讨论(0)
提交回复
热议问题