I write a page and I add
this.SupportedOrientations = SupportedPageOrientation.Portrait | SupportedPageOrientation.Landscape;
in the constructor.
After letting a messagebox popup and change orientation from portrait to landscape, I found that the UI under the messagebox didn’t chang开发者_如何学JAVAe orientation from portrait to landscape as expected.
Is there anything I lose in code or this is the limitation of the UI framework now?
The MessageBox is modal and blocks the UI thread so such events like orientation changed won't be processed however the underlying UI should adapt to the orientation change once the message box is dismissed.
精彩评论