Back to Devexpress

SplashScreenManager.Show(Int32, Int32, DependencyObject, WindowStartupLocation, Boolean, InputBlockMode, Int32) Method

wpf-devexpress-dot-xpf-dot-core-dot-splashscreenmanager-dot-show-x28-int32-int32-dependencyobject-windowstartuplocation-boolean-inputblockmode-int32-x29.md

latest3.4 KB
Original Source

SplashScreenManager.Show(Int32, Int32, DependencyObject, WindowStartupLocation, Boolean, InputBlockMode, Int32) Method

Shows the splash screen.

Namespace : DevExpress.Xpf.Core

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

NuGet Package : DevExpress.Wpf.Core

Declaration

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

Parameters

NameTypeDescription
showDelayInt32

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

NameTypeDefaultDescription
ownerDependencyObjectnull

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.

See Also

SplashScreenManager Class

SplashScreenManager Members

DevExpress.Xpf.Core Namespace