protected override async void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); if (e.Parameter is string) { _TodoItem = await _todoItemRepository.RefreshTodoItemAsync(e.Parameter as string); await inkNotes.Load(_TodoItem.InkUri); } }
public override async Task OnNavigatedToAsync(string parameter, NavigationMode mode) { TodoItem = await _todoItemRepository.RefreshTodoItemAsync(parameter); this.RemoveItemCommand.RaiseCanExecuteChanged(); }
public override async void OnNavigatedTo(object parameter, NavigationMode mode, IDictionary <string, object> state) { TodoItem = await _todoItemRepository.RefreshTodoItemAsync((string)parameter); this.RemoveItemCommand.RaiseCanExecuteChanged(); }