I am developing xamarin forms application. Now, I have to close my opened page with button command. I want someone to help me with this.
CodePudding user response:
Please use this code in your xamarin forms ViewModel.
await Application.Current.MainPage.Navigation.PopAsync();