Shell Navigation using query parameters
Ronald Rex
1,671
Reputation points
I am trying to pass a query parameter in a shell application. The code is below. I have this code decorating the viewmodel
[QueryProperty(nameof(PayerMode), nameof(PayerMode))].
I shouldnt have to bind to anything to pass a parameter to another page, correct?
async Task SavePayer() =>
await Shell.Current.GoToAsync($"{nameof(PayerEditView)}?PayerMode = Edit");
Developer technologies | .NET | .NET MAUI
Developer technologies | .NET | .NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Sign in to answer