Esempio n. 1
0
        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);
            }
        }
Esempio n. 2
0
        public override async Task OnNavigatedToAsync(string parameter, NavigationMode mode)
        {
            TodoItem = await _todoItemRepository.RefreshTodoItemAsync(parameter);

            this.RemoveItemCommand.RaiseCanExecuteChanged();
        }
Esempio n. 3
0
        public override async void OnNavigatedTo(object parameter, NavigationMode mode, IDictionary <string, object> state)
        {
            TodoItem = await _todoItemRepository.RefreshTodoItemAsync((string)parameter);

            this.RemoveItemCommand.RaiseCanExecuteChanged();
        }