VisibilityManager

Use the VisibilityManager to hide and show elements depending on the screen size. Using this class it is very simple to support snapped or portrait view and different screen sizes.

<Paging:LayoutAwarePage ...
	xmlns:UI="using:MyToolkit.UI">
...
<Grid UI:VisibilityManager.MinPageWidth="1024">
...

The grid is only visible if the page has a minimum width of 1024 pixels.

Other properties:
  • MaxPageWidth: Element only visible if page width < MaxPageWidth

Last edited Jun 25, 2013 at 10:23 AM by rsuter, version 2