Xaml 如何从Windows 8应用商店应用程序中的对象或容器中删除EnterthemeTransition?

Xaml 如何从Windows 8应用商店应用程序中的对象或容器中删除EnterthemeTransition?,xaml,windows-8,microsoft-metro,windows-runtime,Xaml,Windows 8,Microsoft Metro,Windows Runtime,如何删除XAML中的默认值(默认情况下)以添加到Windows 8应用商店应用程序中的所有控件?如果您使用的是项目/项目模板之一(拆分应用程序、网格应用程序等),您将在解决方案的公用目录中看到StandardStyles.XAML。它在最后包括以下标记。您可以在那里删除/修改它 <Style x:Key="LayoutRootStyle" TargetType="Panel"> <Setter Property="Background" Value="{StaticRe

如何删除XAML中的默认值(默认情况下)以添加到Windows 8应用商店应用程序中的所有控件?

如果您使用的是项目/项目模板之一(拆分应用程序、网格应用程序等),您将在解决方案的公用目录中看到StandardStyles.XAML。它在最后包括以下标记。您可以在那里删除/修改它

<Style x:Key="LayoutRootStyle" TargetType="Panel">
    <Setter Property="Background" Value="{StaticResource ApplicationPageBackgroundThemeBrush}"/>
    <Setter Property="ChildrenTransitions">
        <Setter.Value>
            <TransitionCollection>
                <EntranceThemeTransition/>
            </TransitionCollection>
        </Setter.Value>
    </Setter>
</Style>