/// <summary>
        /// Show the caption settings page in portrait only with no system tray visible.
        /// </summary>
        /// <param name="sender">the button</param>
        /// <param name="e">the event arguments</param>
        private void OnClickCaptionSettingsPortrait(object sender, System.EventArgs e)
        {
            var plugin = new Microsoft.PlayerFramework.TTML.CaptionSettings.TTMLCaptionSettingsPlugin();

            var options = new Microsoft.PlayerFramework.CaptionSettings.CaptionSettingsPageOptions();

            options.Orientation = PageOrientation.Portrait;
            options.IsSystemTrayVisible = false;
            options.SupportedOrientation = SupportedPageOrientation.Portrait;

            plugin.ShowSettingsPage(this.NavigationService, options);
        }
Beispiel #2
0
        /// <summary>
        /// Show the caption settings page in portrait only with no system tray visible.
        /// </summary>
        /// <param name="sender">the button</param>
        /// <param name="e">the event arguments</param>
        private void OnClickCaptionSettingsPortrait(object sender, System.EventArgs e)
        {
            var plugin = new Microsoft.PlayerFramework.TTML.CaptionSettings.TTMLCaptionSettingsPlugin();

            var options = new Microsoft.PlayerFramework.CaptionSettings.CaptionSettingsPageOptions();

            options.Orientation          = PageOrientation.Portrait;
            options.IsSystemTrayVisible  = false;
            options.SupportedOrientation = SupportedPageOrientation.Portrait;

            plugin.ShowSettingsPage(this.NavigationService, options);
        }