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(); }
private ExtendedSplashScreen(SplashScreen splashScreen, ExtendedSplashScreenContent content) { this.InitializeComponent(); this._splashScreen = splashScreen; this.Content = content; Window.Current.SizeChanged += (sender, e) => { this.SetExtendedSplashBackgroundLocation(); }; this.SetExtendedSplashBackgroundLocation(); }
internal static async Task <ExtendedSplashScreen> CreateAsync(SplashScreen splashScreen, ExtendedSplashScreenContent content) { ExtendedSplashScreen extendedSplashScreen = new ExtendedSplashScreen(splashScreen, content); await extendedSplashScreen.InitSplashScreenAsync(); return(extendedSplashScreen); }