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

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

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

Namespace: DevExpress.XtraSplashScreen

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

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

Parameters

Name Type Description
parentForm Form

A Form relative to which the displayed splash form is positioned. This parameter is in effect when displaying WaitForms.

splashFormType Type

The type of splash form 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

The splash form’s arrangement.

location Point

Coordinates at which the splash form is shown (if the startPos parameter is set to Manual).

Remarks

Using this method overload, you can either choose the default behavior and allow the splash form to be centered relative to a parent form, or position it manually using Point structure coordinates. Only one splash form can be opened simultaneously.

Use the SplashScreenManager.CloseForm method to close a splash form.

See Also