InternalPlayerPage.xaml.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using MediaBrowser.Plugins.DefaultTheme.Resources;
  2. using MediaBrowser.UI.Pages;
  3. using System.Windows;
  4. namespace MediaBrowser.Plugins.DefaultTheme.Pages
  5. {
  6. /// <summary>
  7. /// Interaction logic for InternalPlayerPage.xaml
  8. /// </summary>
  9. public partial class InternalPlayerPage : BaseInternalPlayerPage
  10. {
  11. /// <summary>
  12. /// Initializes a new instance of the <see cref="InternalPlayerPage" /> class.
  13. /// </summary>
  14. public InternalPlayerPage()
  15. {
  16. InitializeComponent();
  17. }
  18. /// <summary>
  19. /// Called when [loaded].
  20. /// </summary>
  21. protected override void OnLoaded()
  22. {
  23. base.OnLoaded();
  24. AppResources.Instance.ClearPageTitle();
  25. AppResources.Instance.HeaderContent.Visibility = Visibility.Collapsed;
  26. }
  27. /// <summary>
  28. /// Called when [unloaded].
  29. /// </summary>
  30. protected override void OnUnloaded()
  31. {
  32. base.OnUnloaded();
  33. AppResources.Instance.HeaderContent.Visibility = Visibility.Visible;
  34. }
  35. }
  36. }