Developer's Guide to Windows 10 Preview: (09) Adaptive Triggers

Download this episode

Download Video

Download captions

Download Captions


Get a good look at Adaptive Triggers, which are used in XAML to automatically detect environmental factors, such as different screen sizes (like when a user resizes the app window or when running on a phone instead of a laptop), and then see how to apply a Visual State to set an appropriate screen layout. See how, used in combination with the RelativePanel control, you have powerful tools to create an adaptive UX.



Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image

      For VisualState.StateTriggers, can you have multiple triggers? For example, I may want to adapt the view where the screen width is less than 600 and the orientation is landscape? This way, I can show a different view on a phone in landscape orientation.

    • User profile image

      VisualState don't work if the Grid is in a ScrollViewer :-.

    • User profile image
      Pranav shah

      how to set Visualstate setter property set?

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.