WPF Frame Navigation: Preventing Duplicate Instances in Navigation History
In my WPF application, I’m using a Frame for navigation between pages. The issue I’m encountering is that whenever I navigate to a page that is already open, a new instance of that page is added to the navigation history. This results in multiple instances of the same page being stored in the history, which I want to avoid.
This is what I want to avoid