Exemple #1
0
        private void UpdatePlayerBlock()
        {
            if (CurrentFrame.Content == null)
            {
                return;
            }

            if (GetIsPlayerBlockVisible(CurrentFrame.Content as DependencyObject))
            {
                ShowPlayerBlockStoryboard.Begin();
            }
            else
            {
                HidePlayerBlockStoryboard.Begin();
            }
        }
Exemple #2
0
        private void UpdatePlayerBlock()
        {
            if (CurrentFrame.Content == null)
            {
                return;
            }

            if (GetIsPlayerBlockVisible(CurrentFrame.Content as DependencyObject))
            {
                ShowPlayerBlockStoryboard.Begin();
                BottomMenuListView.Margin = new Thickness(0, 0, 0, 60);
            }
            else
            {
                HidePlayerBlockStoryboard.Begin();
                BottomMenuListView.Margin = new Thickness(0);
            }
        }