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.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
public static void ShowImage(
Image image,
bool useFadeIn,
bool useFadeOut,
SplashFormStartPosition startPos,
Point location
)
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.