locked
Gridview horzontall scrolling 4 items together on windows phone 8.1 store app

    Question

  • I have gridview which is bound to datacontext(images). I am using wrapgrid so that I can scroll horizontally on windows phone 8.1. so grid is showing per page 4 images in a row and 4 images in a column. 

    ------>scroll direction
    1st |2nd
    Page|Page
    ----|---
    ABCD|PQRS
    EFGH|STUV
    IJKL|WXYZ
    LMNO|1234

    I want that when I scroll horizontally it goes to 2nd Page (scroll  4 items horizontally together).

     Default behavior is shown below in which it scroll 1 item

    1st |2nd
    Page|Page
    --------
    BCDP|QRSX
    FGHS|TUVX
    JKLW|XYZX
    MNO1|234X

    Thx

    Tuesday, April 21, 2015 3:34 PM

All replies

  • Wouldn't it be easier to have one gridview that is spaced out properly so that everything scrolls together without a lot of custom work?

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

    NOTE: 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.

    Wednesday, April 22, 2015 12:37 PM
    Moderator