protected async override void OnNavigatedTo(NavigationEventArgs e) { _navigationHelper.OnNavigatedTo(e); await KEYBOARDModel.LoadItemsAsync(); DataContext = this; }
protected override async void OnNavigatedTo(NavigationEventArgs e) { _dataTransferManager = DataTransferManager.GetForCurrentView(); _dataTransferManager.DataRequested += OnDataRequested; _navigationHelper.OnNavigatedTo(e); await KEYBOARDModel.LoadItemsAsync(); }
protected async override void OnNavigatedTo(NavigationEventArgs e) { _dataTransferManager = DataTransferManager.GetForCurrentView(); _dataTransferManager.DataRequested += OnDataRequested; _navigationHelper.OnNavigatedTo(e); await KEYBOARDModel.LoadItemsAsync(); KEYBOARDModel.SelectItem(e.Parameter); if (KEYBOARDModel != null) { KEYBOARDModel.ViewType = ViewTypes.Detail; } DataContext = this; }
protected override async void OnNavigatedTo(NavigationEventArgs e) { _navigationHelper.OnNavigatedTo(e); await KEYBOARDModel.LoadItemsAsync(); }