jellyfin/MediaBrowser.Plugins.DefaultTheme/Pages/InternalPlayerPage.xaml.cs
2013-02-20 20:33:05 -05:00

42 lines
1.1 KiB
C#

using MediaBrowser.Plugins.DefaultTheme.Resources;
using MediaBrowser.UI.Pages;
using System.Windows;
namespace MediaBrowser.Plugins.DefaultTheme.Pages
{
/// <summary>
/// Interaction logic for InternalPlayerPage.xaml
/// </summary>
public partial class InternalPlayerPage : BaseInternalPlayerPage
{
/// <summary>
/// Initializes a new instance of the <see cref="InternalPlayerPage" /> class.
/// </summary>
public InternalPlayerPage()
{
InitializeComponent();
}
/// <summary>
/// Called when [loaded].
/// </summary>
protected override void OnLoaded()
{
base.OnLoaded();
AppResources.Instance.ClearPageTitle();
AppResources.Instance.HeaderContent.Visibility = Visibility.Collapsed;
}
/// <summary>
/// Called when [unloaded].
/// </summary>
protected override void OnUnloaded()
{
base.OnUnloaded();
AppResources.Instance.HeaderContent.Visibility = Visibility.Visible;
}
}
}