All docs
V20.1
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

SplashScreenManager.Create(Func<Window>, DXSplashScreenViewModel) Method

Creates a custom splash screen.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public static SplashScreenManager Create(
    Func<Window> splashScreenWindowFactory,
    DXSplashScreenViewModel viewModel = null
)
Public Shared Function Create(
    splashScreenWindowFactory As Func(Of Window),
    viewModel As DXSplashScreenViewModel = Nothing
) As SplashScreenManager

Parameters

Name Type Description
splashScreenWindowFactory Func<Window>

A function that creates the splash screen window.

Optional Parameters

Name Type Default Description
viewModel DXSplashScreenViewModel

null

A view model that specifies options for the splash screen.

Returns

Type Description
SplashScreenManager

A DevExpress.Xpf.Core.SplashScreenManager object that represents the created splash screen.

Remarks

The following example illustrates how to create a custom waiting indicator:

 SplashScreenManager.Create(() => new SplashScreenWindow() {
    AllowTheming = true,
    Content = new WaitIndicator() { DeferedVisibility = true }
});

Refer to the How to: Create a Custom Splash Screen tutorial for more information.

Use the Show method to display the splash screen.

See Also