Esempio n. 1
0
        private void playNavigationAnimation(bool aniamtion)
        {
            var index = ViewModel.DocumentTabs.IndexOf(checkedTab);

            if (index < 0)
            {
                tabTagTransform.To = ViewModel.DocumentTabs.Count * 48 + splitViewGrid.RowDefinitions[3].ActualHeight + splitViewGrid.RowDefinitions[4].ActualHeight;
            }
            else
            {
                tabTagTransform.To = index * 48;
            }
            Navigating.Begin();
            if (!aniamtion)
            {
                Navigating.SkipToFill();
            }
        }