Trigger Display Landscape

Sometimes my design doesn’t look right when the screen is in landscape mode, and if the screen is in landscape mode I would like to hide some elements to improve the design or make some changes.

Something like what exists in CSS with mediaqueris:

    <Text ux:Name="Description" Value="Test">

        <Change Description.Visibility="Collapsed"/>

<WhileWindowPortrait> and <WhileWindowLandscape> might be what you’re looking for. :slight_smile:

Note: as far as I know these relate to the aspect ratio of whichever component they’re attached to, not the general orientation of the device.