Skip to main content

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

Creates a custom splash screen.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public static SplashScreenManager Create(
    Func<Window> splashScreenWindowFactory,
    DXSplashScreenViewModel viewModel = null
)

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Create(Func<Window>, DXSplashScreenViewModel) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also