How to set this animation for popupbox in MaterialDesignInXamlToolkit? #3218
-
Hi guys, I slowed the movie down so its animation is better visible: I think two transparency and scale options have been used for this animation, the scale is created step by step and the value has not been suddenly transferred from 0 to 1, of course this is my guess. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
@VahidEra It is not clear to me exactly what you want to achieve. However, I think the fact that you only give the animation 120ms to complete is probably why it is not "smooth". Try changing <EasingDoubleKeyFrame KeyTime="0:0:0:0.12" Value="1" /> to <EasingDoubleKeyFrame KeyTime="0:0:0:0.35" Value="1" /> That should slow it down a bit, but give the animation enough time (i.e. key frames) to produce a visible animation. |
Beta Was this translation helpful? Give feedback.
@VahidEra It is not clear to me exactly what you want to achieve. However, I think the fact that you only give the animation 120ms to complete is probably why it is not "smooth".
Try changing
to
That should slow it down a bit, but give the animation enough time (i.e. key frames) to produce a visible animation.