示例#1
0
        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;
        }
示例#2
0
 public void SetActivePage(PistachioPage activePage)
 {
     _activePage.Clear();
     ActivePage.Add(activePage);
 }