locked
How to implement Drag n' Drop in Split/GridView in VS12 template? RRS feed

  • Question

  • Hi, 

    Could anyone please help me to implement Drag n' Drop in Split/GridView in VS12 template? 

    I tried drag and drop in GridView, it's simple, since just do CanDragItems="True" CanReorderItems="True" AllowDrop="True" in XAML. 

    However, it's not the case in SplitView/GridView template provided in VS12...

    Thank you,


    Jerry

    Friday, August 10, 2012 3:18 AM

Answers

  • I added CanDragItems="True" CanReorderItems="True" AllowDrop="True" to the Gridview in ItemsPage.xaml and to the ListView in SplitPage.xaml and drag n' drop worked perfectly.

    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.

    Monday, August 13, 2012 2:42 PM
    Moderator

All replies

  • I added CanDragItems="True" CanReorderItems="True" AllowDrop="True" to the Gridview in ItemsPage.xaml and to the ListView in SplitPage.xaml and drag n' drop worked perfectly.

    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.

    Monday, August 13, 2012 2:42 PM
    Moderator
  • ok, i guess because I also implement grouping capability. thanks. 

    Jerry

    Tuesday, August 14, 2012 1:27 AM