public GamePage()
        {
            this.InitializeComponent();
            DataContext = AppLocator.GamePageViewModel;
            var launchArguments = string.Empty;

            // Create the game.
            if (DeviceDetector.DetectDeviceType() == DeviceType.Desktop)
            {
                _game = MonoGame.Framework.XamlGame <EpiBubbleDesktopGame> .Create(launchArguments, Window.Current.CoreWindow, swapChainPanel);
            }
            else if (DeviceDetector.DetectDeviceType() == DeviceType.Tablet)
            {
                _game = MonoGame.Framework.XamlGame <EpiBubbleDesktopGame> .Create(launchArguments, Window.Current.CoreWindow, swapChainPanel);
            }
            else if (DeviceDetector.DetectDeviceType() == DeviceType.XBOX)
            {
                _game = MonoGame.Framework.XamlGame <EpiBubbleXboxGame> .Create(launchArguments, Window.Current.CoreWindow, swapChainPanel);
            }
        }