private void PagesCarousel_SelectionChanged(object sender, SelectionChangedEventArgs e) { PistachioPage activePage = PagesCarousel.SelectedItem as PistachioPage; keyManager.SetActivePage(activePage); _currentPage = "details: " + activePage.Name; CurrentPage = _currentPage; xdgVisualizer.Records[0].IsExpanded = true; }
public void SetActivePage(PistachioPage activePage) { _activePage.Clear(); ActivePage.Add(activePage); }