Screen orientation changed


I know there is the screenorientationchanged event on a screen.
But when I use a messagebox it tells me the width is greater than the length when the orientation is changed to portrait.
Does this event happen when the orientation is changing or after the orientation is changed.
I’d like to have an event when the event has passed so I really know whether the screen is in portrait or in landscape mode


I believe it fires after the orientation is changed but sometimes more time is needed to complete laying out the screen.
Use a short timer something like 250ms and you should be good to go.