Skip to main content
A newer version of this page is available. .

SplashScreenManager.ShowForm(UserControl, Type, Boolean, Boolean, SplashFormStartPosition, Point) Method

Creates and displays the specified WaitForm, allowing you to manually position it.

Namespace: DevExpress.XtraSplashScreen

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

public static void ShowForm(
    UserControl parentControl,
    Type splashFormType,
    bool useFadeIn,
    bool useFadeOut,
    SplashFormStartPosition startPos,
    Point location
)

Parameters

Name Type Description
parentControl UserControl

A UserControl. The WaitForm is positioned relative to the screen or the form where the UserControl resides.

splashFormType Type

The type of WaitForm to be displayed.

useFadeIn Boolean

true, to use the fade-in effect when opening the form; otherwise, false.

useFadeOut Boolean

true, to use the fade-out effect when closing the form; otherwise, false.

startPos SplashFormStartPosition

SplashFormStartPosition.Default to center the WaitForm against the UserControl’s parent form. SplashFormStartPosition.Manual to manually specify the WaitForm’s location with the ‘loc’ parameter.

location Point

Coordinates at which the Wait Form is shown (if the startPos parameter is set to Manual).

Remarks

This method overload is only supported for displaying WaitForms.

See Also