显示用户并将其导航到其他PanoramaItem

编程入门 行业动态 更新时间:2024-10-24 02:39:18
本文介绍了显示用户并将其导航到其他PanoramaItem的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在开发Panorama应用程序.在全景图"项目之一中,我有一个类别列表.在选择列表项之一时,我已经在新的Panorama项目中显示了该类别下的所有供稿.因此,我决定使用Panorama项目,例如第4个项目,最初设置为折叠.然后,当用户选择一个类别时,使该项目4变为true并将用户导航到该项目4,然后将该项目的标题更改为他们选择的类别.

I am developing a Panorama application. In one of the Panorama item, I have a list of categories. On Selecting one of the list item, I have display all the feeds under that category in a new Panorama Item. So I decided to use a Panorama item say item 4, initially set to collapsed. And then when the user select a category, make that item 4 visible to true and navigate the user to that item 4. and change the title of that item to the category they selected.

  • 这是正确的方法吗?

  • Is this the right way to do it?

    如果是的话,我该如何以编程方式将用户导航到另一个项目?

    If So, how can I navigate the user to another item programmatic?

    我面临另一个问题,即使更改标题,除非加载新页面,更改仍不会生效? (我还读到MSDN在其指南中指出,不建议更改Panorama项目的标题)?

    I am facing another issue where even if I change the title, the change is not taking effect unless a new page load? (I also read that MSDN has stated in its guidelines that it is not advisable to change the title of an Panorama item)?

    推荐答案

    我个人的观点是,Panorama(和Pivot)控件不应用于根据另一个项目中的选择显示一个项目中的动态项目.物品.观看此频道9视频查德·罗伯茨(Chad Roberts)和艾米·阿尔伯特(Amy Alberts)讨论了这两个关键控制.

    My personal opinion is that the Panorama (and Pivot) control should not be used to display dynamic items in one item based on a selection in another item. Take a look at this channel 9 video where Chad Roberts and Amy Alberts discuss these two key controls.

    我的建议是导航到有关类别选择的另一页,然后将提要加载到目标页面中的该类别下.如果您在这方面需要任何帮助,Shawn Wildermuth在页面导航上有一个博客文章.

    My suggestion would be to navigate to another page on category selection and to load the feeds under that category in the target page. Shawn Wildermuth has a blog post on page navigation if you need any help in that respect.

  • 更多推荐

    显示用户并将其导航到其他PanoramaItem

    本文发布于:2023-10-11 23:24:38,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1483133.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:用户   并将其   PanoramaItem

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!