Esempio n. 1
0
        protected void OnPageChanged(int index)
        {
            CurrentPage = index;

            TitleViewModels.ForEach(x => x.IsSelected = false);
            TitleViewModels[index].IsSelected         = true;
        }
Esempio n. 2
0
        protected virtual void OnTitleSelected(PageTitleViewModel titleVM)
        {
            CurrentPage = TitleViewModels.IndexOf(titleVM);

            TitleViewModels.ForEach(x => x.IsSelected = false);
            titleVM.IsSelected = true;
        }