public void OnPivotNavigatedTo(PivotNavigationContext context) { _pivotController = context.PivotController; }
private void PivotNavigateToViewModel(PivotItem pivotItem) { var viewModel = pivotItem.DataContext as IPivotNavigationAware; if (viewModel != null) { var parameter = new PivotNavigationContext(); parameter.PivotController = _pivotContainerViewModel.PivotController; viewModel.OnPivotNavigatedTo(parameter); } }