Windows storage application for all permissions

I am trying to make my application work in all resolutions because I used ViewBox. But the ViewBox does not adapt the screen size. It is somewhat larger than the screen. How the page should be displayed for all permissions: enter image description here

But the problem is to increase or decrease the resolution, which the page will not fit the screen, showing the gridview scroll to scroll. CODE: -

<GridView> <ViewBox Stretch="Fill" > <GridViewItem> ... </GridViewItem> </ViewBox> </GridView> 
+4
source share
2 answers

The view box should apply to the entire grid or grid.

 <Viewbox Stretch="Fill" StretchDirection="Both"> <GridView> <GridViewItem> ... </GridViewItem> </GridView> </Viewbox> 
+1
source

You have to put everything in a standard Grid , bind it to the borders of the device (left, right, top, bottom).

+1
source

All Articles