Listview Expanding Over The Edge Of The Screen RRS feed

  • Question

  • Hi, I'm currently making a windows 8.1 app, in the app i have a 2 list views side by side, ive got 3 different screens/tablets to test on, the listviews width expands to the edge of the screen and stops thats fine, but if you load something in the lists it goes off the edge of the screen and doesn't stop and becomes un-scrollable, i want the height of the list boxes to always stretch from the top & bottom of the screen and the stackpanel to stop expanding when it hits the bottom
    Sunday, January 4, 2015 6:16 PM


  • You'll need to put the ListViews in a ScrollViewer.

    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.

    Monday, January 5, 2015 2:55 PM