Question:
For example: there is a registration window and a window for entering credits (heirs of Window). How can you implement behavior similar to using VisualStateManager.GoToState()
for windows? Now I have selected two UserControls – registration and credential entry, and change the Visibility
using the VisualStateManager
. Also read about the possibility of using ContentPresenter
or ContentHolder.Content
, but with this approach there is no way to animate transitions from one to another. Is there a correct approach?
Answer:
More or less controlled transitions between pages can be done using Frame
and Page
within it.
As for animation, I really didn't look, at least you can make an intermediate Page
with animation.