The Media Center Sandbox

Resources and discussion for developing experiences in the Windows Media Center platform.
Welcome to The Media Center Sandbox Sign in | Join | Help
in Search

Advanced MCML: Paginated Scroller

Last post 06-23-2009, 3:50 PM by soultaker. 2 replies.
Sort Posts: Previous Next
  •  06-23-2009, 3:25 AM 9288

    Advanced MCML: Paginated Scroller



    Ok this is rather hard to explain so please look at the diagram above first.
    Basic Info:
    - The gray area represents the scroller.
    - Pressing up/down switches between each individual repeated item.
    - Pressing left/right switched between a scroller page.

    What I want is a fixed-width horizontal scroller, with support for pagination.
    What I would like to do is bind a regular repeater to draw items in multiples of 4 for each 'scroller-page'.
    Then pressing left or right within the scroller would move the scroller page appropriately.

    I am fairly advanced with MCML (no need for baby talk), but am unsure on how to implement this
    I am having trouble getting the concept of a page with the scroller and repeater.

    Please help.
    blog.manghera.com
  •  06-23-2009, 4:47 AM 9289 in reply to 9288

    Re: Advanced MCML: Paginated Scroller

    How about a Horizontal Scroller (with a LockedPosition) containing a Vertical Repeater all stuck inside a Clip?

    Then use the Rows/Colums property on the GridLayout of the Repeater to set 4 rows.
  •  06-23-2009, 3:50 PM 9292 in reply to 9289

    Re: Advanced MCML: Paginated Scroller

    Thanks for pointing me in the right direction, I'm very close to the effect that I want to achieve.

    Cheers.

     


    blog.manghera.com
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems