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.Show(DependencyObject, WindowStartupLocation, Boolean, InputBlockMode, Int32) Method

Shows the splash screen.

Namespace: DevExpress.Xpf.Core

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

Declaration

public void Show(
    DependencyObject owner = null,
    WindowStartupLocation startupLocation = WindowStartupLocation.CenterOwner,
    bool trackOwnerPosition = true,
    InputBlockMode inputBlock = InputBlockMode.None,
    int timeout = 700
)
Public Sub Show(
    owner As DependencyObject = Nothing,
    startupLocation As WindowStartupLocation = WindowStartupLocation.CenterOwner,
    trackOwnerPosition As Boolean = True,
    inputBlock As InputBlockMode = InputBlockMode.None,
    timeout As Integer = 700
)

Optional Parameters

Name Type Default Description
owner DependencyObject

null

A UI element that is the owner of the splash screen.

startupLocation WindowStartupLocation

2

A System.Windows.WindowStartupLocation enumeration value that specifies the initial location of the splash screen.

trackOwnerPosition Boolean

True

true, to change the splash screen position corresponding to the current owner's position when the user moves the owner window around; otherwise, false.

inputBlock InputBlockMode

0

A DevExpress.Xpf.Core.InputBlockMode enumeration value that specifies the input restriction mode.

timeout Int32

700

A time interval for which the splash screen initialization process is prioritized over the main application, in milliseconds.

Remarks

The example below illustrates how to create and display a predefined acrylic splash screen with default settings.

 SplashScreenManager.CreateFluent().Show();

You can also use the ShowOnStartup method to show the splash screen at the application startup. It calls the Show method with the following parameters:

 Show(
   owner:null,
   startupLocation:WindowStartupLocation.CenterScreen,
   trackOwnerPosition:true,
   inputBlock:InputBlockMode.None);

To display a splash screen on top of a UI element, pass the element as the owner parameter and set the startupLocation parameter to CenterOwner. Set the trackOwnerPosition parameter to true to keep the splash screen above the owner when the user drags the owner.

Use the State property to determine the current state of the splash screen.

See Also