$ 0 0 Hi, Is there a way in xaml or in code to check the device orientation so I can change the layout of my screen.