The page has been moved to GitHub

VisibilityManager

Package: MyToolkit.Extended
Platform: WinRT(Universal)

The VisibilityManager class provides attached properties to show and hide UI elements dependent on the screen size. This is useful to implement an app with support for the various screen sizes (landscape, portrait, snapped view) for Windows 8 apps.

Attached properties:
  • MinPageWidth
  • MaxPageWidth

Usage

The following button is only shown if the page width is >= 1024:

<Button ... UI:VisibilityManager.MinPageWidth="1024" />

Last edited Jun 3, 2015 at 10:00 PM by rsuter, version 7