Programmatically slide to next Panorama item

前端 未结 5 1924
-上瘾入骨i
-上瘾入骨i 2021-01-06 00:43

Is it possible to programmatically move from one panorama page/item to the next and get the same kind of animated sliding effect you get when sliding with a

5条回答
  •  感动是毒
    2021-01-06 01:24

    I think the easiest way to achieve this would be to create separate visual states for each item and create animated slide transitions for transitioning to each state. Then you can use VisualStateManager.GoToState(, , true); to initiate the state change.

提交回复
热议问题