开发者

Orientation problem when coding on Windows phone 7

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜