Pergunta ObservableCollection ReorderThemeTransition

  • quinta-feira, 16 de agosto de 2012 19:28
     
     
    Is ObservableCollection compatible with ReorderThemeTransition in the RTM version of Windows 8?  I am having a heck of a time getting ReorderThemeTransition to ever work inside a GridView whether bound directly to an ObservableCollection or CollectionViewSource.  Any help regarding how to get the UI to animation the new 'order' of a collection would be greatly appreciated.

Todas as Respostas

  • segunda-feira, 20 de agosto de 2012 14:07
    Moderador
     
     
    Please post some code so I can test this scenario.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

  • segunda-feira, 20 de agosto de 2012 15:24
     
     
    Bind to an ObservableCollection and use ObservableCollection.Move to move an item to a new index in the collection.  The UI is updated to reflect the new index, but no transition runs, it just draws at the new position.
  • quinta-feira, 23 de agosto de 2012 17:46
     
     
    Okay.  I'll look into doing it some other way.
  • quinta-feira, 23 de agosto de 2012 19:43
    Moderador
     
     
    This isn't a supported scenario.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.