代码之家  ›  专栏  ›  技术社区  ›  gyurisc

如何将visualstatemanager添加到surface项目中?

  •  1
  • gyurisc  · 技术社区  · 14 年前

    我有一个曲面项目,我想使用混合设计的控件。我已将这些控件添加到我的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吗?

    1 回复  |  直到 14 年前
        1
  •  5
  •   Jeff Wilcox    14 年前

    确定你是

    VSM在4之前未内置到WPF中。

    推荐文章