Wpf 在windows2008 r2服务器中,在哪里可以设置SystemParameters.ComboBoxPopupAnimationKey?

Wpf 在windows2008 r2服务器中,在哪里可以设置SystemParameters.ComboBoxPopupAnimationKey?,wpf,styles,Wpf,Styles,我最近看到combobox controltemplate有以下行: PopupAnimation=“{DynamicResource{x:Static SystemParameters.ComboBoxPopupAnimationKey}}“> 因此,我的问题是,在window2008或windows7中,在哪里可以设置此键?您当然可以在windows中关闭动画,但我认为这会影响所有控件。如果这是您要问的问题,请转到“系统属性”(Win+Break),高级选项卡,然后单击性能部分中的设置。当我

我最近看到combobox controltemplate有以下行:

PopupAnimation=“{DynamicResource{x:Static SystemParameters.ComboBoxPopupAnimationKey}}“>


因此,我的问题是,在window2008或windows7中,在哪里可以设置此键?

您当然可以在windows中关闭动画,但我认为这会影响所有控件。如果这是您要问的问题,请转到“系统属性”(Win+Break),高级选项卡,然后单击性能部分中的设置。

当我添加相同的问题时,我发现我可以直接在App.xaml中更改该参数

<Application x:Class="WpfApplication1.App"
         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
         StartupUri="MainWindow.xaml">
    <Application.Resources>
        <ResourceDictionary>
            <PopupAnimation x:Key="{x:Static SystemParameters.ComboBoxPopupAnimationKey}">None</PopupAnimation>
        </ResourceDictionary>
    </Application.Resources>
</Application>

没有一个

您到底想实现什么目标?是否要更改组合框的动画方式?是,我要将动画设置为“无”。现在我只是想知道这是否可以通过任何系统选项来实现。