Inheritance: Windows.UI.Xaml.Controls.UserControl
        internal static async Task<ExtendedSplashScreen> CreateAsync(SplashScreen splashScreen, ExtendedSplashScreenContent content)
        {
            var extendedSplashScreen = new ExtendedSplashScreen(splashScreen, content);

            await extendedSplashScreen.InitSplashScreenAsync();

            return extendedSplashScreen;
        }
        private ExtendedSplashScreen(SplashScreen splashScreen, ExtendedSplashScreenContent content)
        {
            InitializeComponent();

            _splashScreen = splashScreen;
            Content = content;

            Window.Current.SizeChanged += (sender, e) =>
            {
                SetExtendedSplashBackgroundLocation();
            };
            SetExtendedSplashBackgroundLocation();
        }
示例#3
0
        private ExtendedSplashScreen(SplashScreen splashScreen, ExtendedSplashScreenContent content)
        {
            this.InitializeComponent();

            this._splashScreen = splashScreen;
            this.Content       = content;

            Window.Current.SizeChanged += (sender, e) =>
            {
                this.SetExtendedSplashBackgroundLocation();
            };
            this.SetExtendedSplashBackgroundLocation();
        }
示例#4
0
        internal static async Task <ExtendedSplashScreen> CreateAsync(SplashScreen splashScreen, ExtendedSplashScreenContent content)
        {
            ExtendedSplashScreen extendedSplashScreen = new ExtendedSplashScreen(splashScreen, content);

            await extendedSplashScreen.InitSplashScreenAsync();

            return(extendedSplashScreen);
        }