コード例 #1
0
        protected async override void OnNavigatedTo(NavigationEventArgs e)
        {
            _navigationHelper.OnNavigatedTo(e);
            await KEYBOARDModel.LoadItemsAsync();

            DataContext = this;
        }
コード例 #2
0
        protected override async void OnNavigatedTo(NavigationEventArgs e)
        {
            _dataTransferManager = DataTransferManager.GetForCurrentView();
            _dataTransferManager.DataRequested += OnDataRequested;

            _navigationHelper.OnNavigatedTo(e);
            await KEYBOARDModel.LoadItemsAsync();
        }
コード例 #3
0
        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;
        }
コード例 #4
0
 protected override async void OnNavigatedTo(NavigationEventArgs e)
 {
     _navigationHelper.OnNavigatedTo(e);
     await KEYBOARDModel.LoadItemsAsync();
 }