With windows phone, is there an event I can register for when the device entered landscape mode?
The reason why I am asking this is because we have a view with an i
Your best bet would be describing to Windows.Current.SizeChanged
event and testing if width is more than height. There is also a sensor for this, but is is a bit problematic, take a look at http://www.jayway.com/2014/10/06/detecting-orientation-in-universal-apps-windows-phone-8-1/.
.xaml
<ContentDialog
x:Class="App1.ContentDialog1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:App1"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
SizeChanged="SizeChangedEvent">
<--! Other Code -->
</ContentDialog>
.cs
private void SizeChangedEvent(object sender, SizeChangedEventArgs e)
{
}