开发者

windows phone handle orientation change [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

how to handle orientation change event inside a userco开发者_开发技巧ntrol?


I'd recommend against having your control worry about the orientation it is being displayed in. This should be the concern of the page the control is contained in, not the actual control. You want to avoid the situation where the two are fighting fo determining how something should be displayed.

Try and write your control so that it work regardless of the page orientation. If you can't do that make 2 versions of the control and let the page decide which one to show based on orientation.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜