windows-phone-8 - Visual Studio 2013 Update 2 全景控件丢失

标签 windows-phone-8 visual-studio-2013

我正在尝试将我的 Windows Phone 7 应用程序移植到适用于 Windows 8.1 和 Windows Phone 8.1 的新通用应用程序项目。我已经安装了 VS2013 Ultimate 和 Update 2 RC(其中包括 8.1 SDK)。但我不明白为什么我不能使用全景控件。已经被删除了吗?

1) Panorama is not supported in a Window Phone project  

2) The type "Panorama" was not found. Verify that you are not missing 
an assembly reference and that all referenced assemblies have been built.

3) Unknown type "Panorama" in XML namespace
http://schemas.microsoft.com/winfx/2006/xaml/presentation"

最佳答案

您需要使用Hub控件。

Windows Phone 8.1 for Developers – What controls are new

<Hub Header="My header">
    <HubSection Header="My sub header">
        <DataTemplate>
            <Grid />
        </DataTemplate>
    </HubSection>
    <HubSection Header="My sub header 2">
        <DataTemplate>
            <Grid />
        </DataTemplate>
    </HubSection>
</Hub>

关于windows-phone-8 - Visual Studio 2013 Update 2 全景控件丢失,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23427638/

相关文章:

c# - 创建包含 GUI 组件 Windows Phone 8 的 .dll 库

javascript - 无法在 IE10 中创建 IndexedDB 数据库

c++ - Visual Studio 2013 将 EXEC 前缀添加到 makefile 输出

c++ - Blitz 在 vs 2013 中不起作用

html - 哪些元素可以嵌套在 <dialog> 元素内?

c++ - 禁用 Visual C++ boost 警告

windows-phone - 如何在 Windows Phone 8 模拟器中启动 Marketplace

c# - 当 StackPanel 宽度为全宽时,WP8 ListBox DataTemplate 抛出异常

c# - 将 ObservableCollection 保存到隔离存储

c# - 在本地 TFS 2015 中运行 Visual Studio 负载测试