增加WPF弹出式动画的持续时间

编程入门 行业动态 更新时间:2024-10-24 14:17:57
本文介绍了增加WPF弹出式动画的持续时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有我用来显示一个菜单覆盖,我使用的是默认的动画渐变一个WPF弹出式菜单控件。不过,我想使动画稍长才能完成。

I have a WPF PopUp control that I'm using to show a menu overlay and I'm using the default fade animation. However I would like to make the animation take slightly longer to complete.

有反正我能做到这一点的XAML?

Is there anyway I can do that in the XAML?

推荐答案

你能在这里发布相关XAML代码?否则,你可以看看这些链接开始使用XAML中的动画 - 的 msdn.microsoft/en-us/library/ms752312.aspx

Can you post the relevant xaml code here? Otherwise, you can look at these links to get started with animation in xaml - msdn.microsoft/en-us/library/ms752312.aspx

的 www.galasoft.ch/mydotnet/articles/article-2006102701.aspx

的如何设置基于控制

更多推荐

增加WPF弹出式动画的持续时间

本文发布于:2023-08-06 04:44:33,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1310145.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:弹出式   持续时间   动画   WPF

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!