Exemplo n.º 1
0
        protected async override void OnNavigatedTo(NavigationEventArgs e)
        {
            _navigationHelper.OnNavigatedTo(e);
            await DRUMSModel.LoadItemsAsync();

            DataContext = this;
        }
Exemplo n.º 2
0
        protected override async void OnNavigatedTo(NavigationEventArgs e)
        {
            _dataTransferManager = DataTransferManager.GetForCurrentView();
            _dataTransferManager.DataRequested += OnDataRequested;

            _navigationHelper.OnNavigatedTo(e);
            await DRUMSModel.LoadItemsAsync();
        }
Exemplo n.º 3
0
        protected async override void OnNavigatedTo(NavigationEventArgs e)
        {
            _dataTransferManager = DataTransferManager.GetForCurrentView();
            _dataTransferManager.DataRequested += OnDataRequested;

            _navigationHelper.OnNavigatedTo(e);

            await DRUMSModel.LoadItemsAsync();

            DRUMSModel.SelectItem(e.Parameter);

            if (DRUMSModel != null)
            {
                DRUMSModel.ViewType = ViewTypes.Detail;
            }
            DataContext = this;
        }
Exemplo n.º 4
0
 protected override async void OnNavigatedTo(NavigationEventArgs e)
 {
     _navigationHelper.OnNavigatedTo(e);
     await DRUMSModel.LoadItemsAsync();
 }