SplashScreenManager.Show(Int32, Int32, DependencyObject, WindowStartupLocation, Boolean, InputBlockMode, Int32) Method
Shows the splash screen.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v24.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
public void Show(
int showDelay,
int minDuration,
DependencyObject owner = null,
WindowStartupLocation startupLocation = WindowStartupLocation.CenterOwner,
bool trackOwnerPosition = true,
InputBlockMode inputBlock = InputBlockMode.None,
int timeout = 700
)
Parameters
Name | Type | Description |
---|---|---|
showDelay | Int32 | The delay after which the splash screen is shown. If the associated operation completes faster than the parameter value, the splash screen will not be displayed. |
minDuration | Int32 | The splash screen is shown for at least the value of this parameter. |
Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
owner | DependencyObject | null | A UI element that is the owner of the splash screen. |
startupLocation | WindowStartupLocation | CenterOwner | 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 | None | 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
Use the showDelay and minDuration parameters to prevent the splash screen from showing too briefly.