private void UpdatePlayerBlock() { if (CurrentFrame.Content == null) { return; } if (GetIsPlayerBlockVisible(CurrentFrame.Content as DependencyObject)) { ShowPlayerBlockStoryboard.Begin(); } else { HidePlayerBlockStoryboard.Begin(); } }
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); } }