public void UpdateLayout(double height, double width)
{
if (ApplicationView.GetForCurrentView().Orientation == ApplicationViewOrientation.Landscape)
{
LayoutType = width > 800 ? LayoutType.Parallel : LayoutType.Overlay;
}
else
{
LayoutType = LayoutType.Overlay;
}
}
}