SplashScreenManager.Create(Func<Window>, DXSplashScreenViewModel) Method
Creates a custom splash screen.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v20.2.dll
NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, 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.
See Also