SplashScreenManager.ShowImage(Image, Boolean, Boolean, SplashFormStartPosition, Point) Method

Displays an image as a splash form, allowing you to manually position it. Allows you to disable fade-in and fade-out effects for the image.

Namespace: DevExpress.XtraSplashScreen

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public static void ShowImage(
    Image image,
    bool useFadeIn,
    bool useFadeOut,
    SplashFormStartPosition startPos,
    Point location
)
Public Shared Sub ShowImage(
    image As Image,
    useFadeIn As Boolean,
    useFadeOut As Boolean,
    startPos As SplashFormStartPosition,
    location As Point
)

Parameters

Name Type Description
image Image

An Image to be displayed as a splash form.

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

The startPos parameter, if set to Manual, allows you to manually position the image using the loc parameter coordinates. Otherwise, the loc parameter is ignored and the image is centered against a main form.

Additionally, you can specify whether the fade animation is played as the image is shown/hidden via the useFadeIn and useFadeOut parameters.

See the Splash Image topic for examples.

See Also