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
System.Object
SplashScreen
Namespace: WinUIEx
Assembly: WinUIEx.dll
Syntax
public class SplashScreen : Window

Constructors

| Improve this Doc View Source

SplashScreen(Type)

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

Declaration
public SplashScreen(Type window)
Parameters
Type Name Description
System.Type window

Type of window to create. Must have an empty constructor

| Improve this Doc View Source

SplashScreen(Window)

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

Declaration
public SplashScreen(Window window)
Parameters
Type Name Description
Window window

Window to open once splash screen is complete

Properties

| Improve this Doc View Source

Height

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

Declaration
public double Height { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

IsAlwaysOnTop

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

Declaration
public bool IsAlwaysOnTop { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Width

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

Declaration
public double Width { get; set; }
Property Value
Type Description
System.Double

Methods

| Improve this Doc View Source

OnLoading()

Override to display loading progress or delay loading of main window

Declaration
protected virtual Task OnLoading()
Returns
Type Description
System.Threading.Tasks.Task

Events

| Improve this Doc View Source

Completed

Raised once the splash screen has completed OnLoading().

Declaration
public event EventHandler<Window?> Completed
Event Type
Type Description
System.EventHandler<System.Nullable<Window>>

See Also

SimpleSplashScreen
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX