Show / Hide Table of Contents

Class SplashScreen

A splash screen window for rendering XAML that shows with no chrome, and once OnLoading() has completed, opens a new window.

Inheritance
object
Window
SplashScreen
Implements
IWinRTObject
IDynamicInterfaceCastable
IEquatable<Window>
Inherited Members
Window.As<I>()
Window.FromAbi(nint)
Window.Equals(Window)
Window.Equals(object)
Window.GetHashCode()
Window.Activate()
Window.Close()
Window.SetTitleBar(UIElement)
Window.IsOverridableInterface(Guid)
Window.Current
Window.AppWindow
Window.Bounds
Window.Compositor
Window.Content
Window.CoreWindow
Window.Dispatcher
Window.DispatcherQueue
Window.ExtendsContentIntoTitleBar
Window.SystemBackdrop
Window.Title
Window.Visible
Window.Activated
Window.Closed
Window.SizeChanged
Window.VisibilityChanged
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: WinUIEx
Assembly: WinUIEx.dll
Syntax
public class SplashScreen : Window, IWinRTObject, IDynamicInterfaceCastable, IEquatable<Window>

Constructors

Name Description
SplashScreen(Window)

Creates and activates a new splashscreen, and opens the specified window once complete.

SplashScreen(Type)

Creates and activates a new splashscreen, and creates and opens the specified window type once complete.

Properties

Name Description
Height

Gets or sets the height of the splash screen. Set to NaN to size for content

IsAlwaysOnTop

Gets or sets a value indicating whether the splash screen should be top-most

Width

Gets or sets the width of the splash screen. Set to NaN to size for content

Methods

Name Description
OnLoading()

Override to display loading progress or delay loading of main window

Events

Name Description
Completed

Raised once the splash screen has completed OnLoading().

Extension Methods

WindowExtensions.CenterOnScreen(Window, double?, double?)
WindowExtensions.CreateFolderPicker(Window)
WindowExtensions.CreateMessageDialog(Window, string, string)
WindowExtensions.CreateOpenFilePicker(Window)
WindowExtensions.CreateSaveFilePicker(Window)
WindowExtensions.GetAppWindow(Window)
WindowExtensions.GetDpiForWindow(Window)
WindowExtensions.GetExtendedWindowStyle(Window)
WindowExtensions.GetIsAlwaysOnTop(Window)
WindowExtensions.GetIsMaximizable(Window)
WindowExtensions.GetIsMinimizable(Window)
WindowExtensions.GetIsResizable(Window)
WindowExtensions.GetWindowHandle(Window)
WindowExtensions.GetWindowStyle(Window)
WindowExtensions.Hide(Window)
WindowExtensions.Maximize(Window)
WindowExtensions.Minimize(Window)
WindowExtensions.Move(Window, int, int)
WindowExtensions.MoveAndResize(Window, double, double, double, double)
WindowExtensions.Restore(Window)
WindowExtensions.SetExtendedWindowStyle(Window, ExtendedWindowStyle)
WindowExtensions.SetForegroundWindow(Window)
WindowExtensions.SetIcon(Window, IconId)
WindowExtensions.SetIcon(Window, string)
WindowExtensions.SetIsAlwaysOnTop(Window, bool)
WindowExtensions.SetIsMaximizable(Window, bool)
WindowExtensions.SetIsMinimizable(Window, bool)
WindowExtensions.SetIsResizable(Window, bool)
WindowExtensions.SetIsShownInSwitchers(Window, bool)
WindowExtensions.SetTaskBarIcon(Window, Icon?)
WindowExtensions.SetTitleBarBackgroundColors(Window, Color)
WindowExtensions.SetWindowOpacity(Window, byte)
WindowExtensions.SetWindowPresenter(Window, AppWindowPresenterKind)
WindowExtensions.SetWindowSize(Window, double, double)
WindowExtensions.SetWindowStyle(Window, WindowStyle)
WindowExtensions.Show(Window)
WindowExtensions.ToggleExtendedWindowStyle(Window, bool, ExtendedWindowStyle)
WindowExtensions.ToggleWindowStyle(Window, bool, WindowStyle)

See Also

SimpleSplashScreen
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX