I'm trying to go to another page when clicking a button. How could i do this.
I tried using a NavigationViewItem but it didn't work.
I'm trying to go to another page when clicking a button. How could i do this.
I tried using a NavigationViewItem but it didn't work.
Copyright © 2021 Jogjafile Inc.
The
NavigationViewItemyou posted is used in UWP.If it is a WinUI3 project, then you need to refer to this document, use
Navigate.the relevant code samples are as follows.
xaml
xaml.cs