Windows Phone 8.1 app with 2 hub sections

我与影子孤独终老i 提交于 2019-12-21 22:10:50

问题


I've created a WP8.1 hub app with two hub sections. This produces in an odd behavior sliding between the two hubs. They don't "fly" into place like they are supposed to, it's more like a vertical scrollable view. If I then include a third hub section everything works just fine.

I've uploaded a YouTube video about it here: http://youtu.be/ns6bXmgajlQ

Is this a bug?

Is there a workaround (except the adding a third dummy section)?


回答1:


The Hub control does not go around and around as the Panorama does if there are only two HubSections.

This means that it is a feature, not a bug.

Quoted from http://blogs.msdn.com/b/thunbrynt/archive/2014/04/08/windows-phone-8-1-for-developers-what-controls-are-new.aspx



来源:https://stackoverflow.com/questions/25076048/windows-phone-8-1-app-with-2-hub-sections

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!