表达式混合:为什么我没有过渡和缓动选项?

发布于 2024-11-30 14:41:00 字数 385 浏览 6 评论 0原文

我正在使用带有 .Net 3.5 的 Expression Blend 4

在下图中,有过渡效果选项以及为过渡选择缓动效果的功能:

表达式混合状态 - 具有效果和过渡

我的混合界面在我的 WPF 应用程序上没有这些:

表达式混合状态 - 无效果或过渡选项

但是,如果我创建一个新应用程序(例如 WPF Sketchflow 应用程序),这些选项的显示方式与第一张照片中的一样。

是什么决定了这些选项是否出现,以及如何将它们添加到我的 WPF 应用程序中?

I am using Expression Blend 4 with .Net 3.5

In the image below, there are options for Transition Effects and the ability to choose Easing effects for your transitions:

Expression Blend States - With Effects and Transitions

My Blend interface does not have these on my WPF application:

Expression Blend States - NO Effects or Transitions Options

However, if I create a new application (such as a WPF Sketchflow app) these options appear just as they do in the first photo.

What determines whether or not these options appear, and how can I get them into my WPF application?

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

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

发布评论

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

评论(1

牛↙奶布丁 2024-12-07 14:41:00

我认为您需要 WPF 工具包才能使用 .NET 3.5 达到这一目标。 (WPF 3.5 缺少 VisualStateManager;该工具包添加了这个缺失的部分。)至于为什么它没有显示,这是因为它是 WPF 3.5 不支持

在 V3 中,我们在该领域添加了四项主要增强功能。第一个是
EasingFunctions,对于制作属性动画至关重要
正确的感觉。我们有所有的经典——二次方程、三次方程、弹跳方程、
弹性等。另外,您可以用 C# 或 VB 编写自己的 EasingFunction
并将其应用到您想要的任何动画中。这全部支持在
Silverlight 3 和 WPF 4。

当您创建新的 WPF Sketchflow 应用程序时,几乎可以肯定它是针对 .NET 4.0 的。

I think you need the WPF toolkit to even get this far with .NET 3.5. (WPF 3.5 lacks the VisualStateManager; the toolkit adds this missing piece.) As to why it doesn't show up, it's because it's not supported in WPF 3.5:

In V3, we added four primary enhancements in this area. The first was
EasingFunctions, which are critical to making property animations have
the right feel. We’ve got all the classics—quadratics, cubics, bounce,
elastic, etc. Plus, you can write your own EasingFunction in C# or VB
and apply it to any animation you wish. This is all supported in
Silverlight 3 and WPF 4.

When you create a new WPF Sketchflow app, it's almost certainly targeting .NET 4.0.

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