Endless Pivot Control

后端 未结 2 1914
Happy的楠姐
Happy的楠姐 2020-12-17 03:39

I\'m trying to use a Pivot control for a calendar type app, where each Pivot view shows some infos about the current day. When the user swipes forw

相关标签:
2条回答
  • 2020-12-17 04:11

    For this, I'd use a Pivot control with 4 pages.

    At any one time, the previous, current and next pages will contain correct data - and you will always have one (empty) page

    You can then respond to the events when your current page is changing and has changed - use these events to set up the current (empty) page to the correct new content and to then clear the new (empty) page.

    0 讨论(0)
  • 2020-12-17 04:18

    The guidelines for Pivot control state that it should be avoided if you have more than 6 pages.

    Using it for unlimited pages in out of question.

    What I would recommend is using TransitioningContentControl with help of touch gestures for flipping forward and backward. TransitioningContentControl allows you to use animation while its content is being changed.

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