SplashScreenManager.ShowImage(SvgImage, Boolean, Boolean, SplashFormStartPosition, Point, ICustomImagePainter, Int32) Method
Creates a splash form with a vector image inside and displays this form after the specified delay. Allows you to draw custom graphics over the splash image, manually arrange it, and enable fade-in and fade-out effects.
Namespace: DevExpress.XtraSplashScreen
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
public static void ShowImage(
SvgImage svgImage,
bool useFadeIn,
bool useFadeOut,
SplashFormStartPosition startPos,
Point location,
ICustomImagePainter painter,
int pendingTime
)
Parameters
Name | Type | Description |
---|---|---|
svgImage | SvgImage | An SvgImage to be drawn. |
useFadeIn | Boolean | true, to use the fade-in effect when the image appears on-screen; otherwise, false. |
useFadeOut | Boolean | true, to use the fade-out effect when the image hides; otherwise, false. Use the SplashScreenManager.HideImage method to hide a splash form image. |
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). |
painter | DevExpress.XtraSplashScreen.ICustomImagePainter | An ICustomImagePainter object that implements a custom drawing procedure. |
pendingTime | Int32 | The time in milliseconds that should elapse before the splash form is actually displayed on-screen. If a close command is sent to the splash form during this time, the splash form will not be displayed. |
Remarks
Call the SplashScreenManager.HideImage method to show the splash form.
See the Splash Image topic for examples.