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

Play Developer's Guide to Windows 10 Preview: (09) Adaptive Triggers
Sign in to queue


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.



Right click to download this episode

Download captions

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?

Add Your 2 Cents