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