I am looking for an event when the orientation of the device changes from landscape to portrait or vice versa. And I tried this (https://docs.microsoft.com/en-us/uwp/api/win