Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/google-sheets/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Wpf 如何将VisualStateManager添加到我的Surface项目?_Wpf_Wpftoolkit_Pixelsense - Fatal编程技术网

Wpf 如何将VisualStateManager添加到我的Surface项目?

Wpf 如何将VisualStateManager添加到我的Surface项目?,wpf,wpftoolkit,pixelsense,Wpf,Wpftoolkit,Pixelsense,我有一个曲面项目,我想使用混合设计的控件。我将这些控件添加到microsoft surface项目中,但在尝试编译时收到错误 Error 1 The tag 'VisualStateManager.VisualStateGroups' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'. Line 12 Position 4. UserControl1.xaml 1

我有一个曲面项目,我想使用混合设计的控件。我将这些控件添加到microsoft surface项目中,但在尝试编译时收到错误

Error 1 The tag 'VisualStateManager.VisualStateGroups' does not exist in XML namespace
'http://schemas.microsoft.com/winfx/2006/xaml/presentation'. Line 12 Position 4.
UserControl1.xaml 12 4  
我如何解决这个问题?我可以在Surface应用程序中使用VisualStateManager吗

确保你是

  • 使用wpf4
  • 或者使用WPF工具包()
VSM在4之前没有内置到WPF中。

请确保您是

  • 使用wpf4
  • 或者使用WPF工具包()
VSM在4之前没有内置到WPF中