我正在尝试将我的 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/