public SettingsViewModel(ref ModalParameters modalParameters) { _modalParameters = modalParameters; BackNavigationCommand = new Command(backNavigationCommand); MainMemoryCheckBoxCommand = new Command(mainMemoryCheckBoxCommand); NavigateDirUpCommand = new Command(navigateDirUpCommand); ChooseDirCommand = new Command(chooseDirCommand); }
private void openSettingsCommand(object obj) { _settingsParams = new ModalParameters(); var modalSettingsPageTask = Navigation.PushModalAsync(new SettingsPage(ref _settingsParams)); }