缺少WinRT XAML情节提要

缺少WinRT XAML情节提要,xaml,winrt-xaml,Xaml,Winrt Xaml,在XAML中键入时,我得到以下信息: Windows应用程序项目中不支持情节提要 我开始的项目如下: 新项目>模板>Visual C#>Windows>Windows 8>Windows> 空白应用程序(Windows 8.1) 以下是MainPage.xaml: <Page x:Class="TestApp.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xml

在XAML中键入
时,我得到以下信息:

Windows应用程序项目中不支持情节提要

我开始的项目如下:

新项目>模板>Visual C#>Windows>Windows 8>Windows> 空白应用程序(Windows 8.1)

以下是MainPage.xaml:

<Page
    x:Class="TestApp.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:TestApp"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    <Grid>
        <StoryBoard></StoryBoard>
    </Grid>

首先,intellisense不显示故事板,当我添加标记时,IDE在标记下方显示一行,表示不支持该标记


我需要添加外部引用吗?

故事板不能是UIElement集合的子级:

    <Grid.Resources>
        <Storyboard x:Key="BestStoryboardEver"></Storyboard>
    </Grid.Resources>


我建议使用blend for visual Studio创建故事板。你也可以将你的故事板添加到
中,这并不能告诉我们太多。当你在XAML中输入什么?你有办法复制吗?在MainPage.xaml中间,我试图为动画添加标签,我在标签下面画了一条线,当我将鼠标悬停在上面时,我得到了上面提到的消息。你是如何将故事板放入网格的?显示您的xaml.question已编辑是的,故事板不是这样工作的。你的错误是意料之中的。您可能需要重新阅读教程。:)非常感谢。在WinRT xaml中,我需要它来制作汉堡菜单,但最终我使用了自动宽度的网格,并添加和清除了子项。