I'm currently handling a bug in our game. Our game is set to be only Landscape or LandscapeFlipped. If we start in Portrait, however, the following all seem to be true.
CoreWindow::GetForCurrentThread()->Bounds.Height > CoreWindow::GetForCurrentThread()->Bounds.Width
DisplayInformation::GetForCurrentView()->CurrentOrientation == Landscape
DisplayInformation::GetForCurrentView()->NativeOrientation == Landscape
This seems internally-inconsistent. How can everything about orientation declare 'landscape' when the bounds of the window is quite clearly portrait? Seems like an API bug.
My fix for now is a hack. If the orientation is landscape but the bounds are taller than wide, then swap the width & height.
TedHoward