Best way in WinUI 3 to achieve fade out/in transition in a content control #10045
Unanswered
aries-zhang
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I have an example app as follow. It loads
GreenContent
andBlueContent
in the ContentControl when theand
are clicked respectively.Wondering what is the best way to animate the transition when the content is updated? e.g. current ContentControl has BlueContent, when GreenContent is assigned, fade out the old value BlueContent and fade in the GreenContent, and vice vesa.
There are transition animations such as PaneThemeTransition but there is no such for fade in/out effects. Also it seems PaneThemeTransition only works once, any content updates thereafter do not seem to trigger the animation.
Beta Was this translation helpful? Give feedback.
All reactions