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

SplashScreen.ShowMode Property

Gets or sets the SplashScreen‘s display mode.

Namespace: DevExpress.XtraSplashScreen

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

[DefaultValue(ShowMode.Form)]
public ShowMode ShowMode { get; set; }

Property Value

Type Default Description
ShowMode **Form**

A ShowMode value that specifies the SplashScreen‘s display mode.

Available values:

Name Description
Form

Displays a splash form.

Image

Displays an image specified by the SplashScreen.SplashImage property.

Remarks

The ShowMode.Form is the default display mode, where the form is displayed with all the controls added to it.

To display an image as a splash screen, set the ShowMode property to ShowMode.Image. When a SplashScreen is displayed, all the controls added to the form are hidden. Only the image specified by the SplashScreen.SplashImage property is displayed in the form’s background.

Note that you can still allow custom controls to be displayed above the image by enabling the SplashScreen.AllowControlsInImageMode property.

In ShowMode.Image display mode, image transparency is supported. So the SplashScreen.SplashImage may be of an irregular form and contain shadows, if required.

Note

Fade effects are not supported in ShowMode.Image display mode.

See Also