Increase Duration of WPF PopUp Animation

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-10 13:26:11

问题


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.

Is there anyway I can do that in the XAML?


回答1:


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

http://www.galasoft.ch/mydotnet/articles/article-2006102701.aspx

How to set WPF animation BeginTime based on properties (Top/Tabstop) of the control



来源:https://stackoverflow.com/questions/7703532/increase-duration-of-wpf-popup-animation

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!