Implementing Snapped view RRS feed

  • Question

  • I have a GridView in my my landscape mode. For the snapped view, I collapse this GridView and instead show a ListView (collapsed until then). Alternatively, I could handle this via State changes using VisualStateManager (varying certain properties of my GridView for the snapped mode). Which of these approaches would be more performant? 

    Sunday, February 8, 2015 12:03 AM


  • Hi Liji,

    We can handle the SizeChanged event, use VisualStateManger.GoToState method in that event handler. It’s recommend as the following code sample. https://code.msdn.microsoft.com/Layout-for-windows-that-d496d054/.

    If you have any concerns, please post more information about your scenario.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.

    Monday, February 9, 2015 3:06 AM