PropertyChangedTrigger 不起作用 - 命名空间错误?

发布于 2024-09-12 10:44:32 字数 603 浏览 3 评论 0原文

我将以下内容(通过 Expression Blend 4)放入 XAML 文件中:

<i:Interaction.Triggers>
   <ei:DataStoreChangedTrigger Binding="{Binding StatusMessage}">
   <ei:ControlStoryboardAction/>
   </ei:DataStoreChangedTrigger>
</i:Interaction.Triggers>

构建项目时,Expression Blend 抛出以下错误:

标签“DataStoreChangedTrigger”可以 XML 命名空间中不存在 'http://schemas.microsoft.com/expression/2010/interactions

什么是问题?

谢谢!

I put the following (via Expression Blend 4) in my XAML file:

<i:Interaction.Triggers>
   <ei:DataStoreChangedTrigger Binding="{Binding StatusMessage}">
   <ei:ControlStoryboardAction/>
   </ei:DataStoreChangedTrigger>
</i:Interaction.Triggers>

When building the project, Expression Blend throws following error:

The tag 'DataStoreChangedTrigger' does
not exist in XML namespace
'http://schemas.microsoft.com/expression/2010/interactions

What's the issue?

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

§对你不离不弃 2024-09-19 10:44:32

听起来您还没有添加对 Microsoft.Expression.Interactions.dll 的引用,或者如果您添加了,则您还没有引用该 dll 的 Blend SDK 4 版本。

Sounds like you haven't added a reference to the Microsoft.Expression.Interactions.dll or if you have you haven't referenced the Blend SDK 4 version of the this dll.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文