AvaloniaCommunity / Prism.Avalonia

Prism Avalonia UI framework. Super charge your cross-platform apps with IoC, navigation, and more! Sponsored by Suess Labs. Prism is based on Microsoft patterns and practices.
https://www.nuget.org/packages/Prism.Avalonia/
MIT License
313 stars 40 forks source link

[Enhancement] Executes the specified animation when the view navigates #216

Closed xiejiang2014 closed 5 days ago

xiejiang2014 commented 1 week ago

Currently: When navigating to a new view, the view switches directly without any transition effect.

Feature Request: Ability to specify animation when navigating to a new view. May need to perform 2 animations, one to exit the current view and the other to enter the new view.

DamianSuess commented 5 days ago

As amazing as this feature would be, it is out of the project's scope. However, this could fall under the project, Prism.Avalonia.Toolkit which is in the early prototyping phase.

In the meantime, what Avalonia already provides: