Back to Devexpress

SplashScreen.ShowMode Property

windowsforms-devexpress-dot-xtrasplashscreen-dot-splashscreen-b0fc5917.md

latest2.7 KB
Original Source

SplashScreen.ShowMode Property

Gets or sets whether to display the splash screen as a form or as the form’s image specified by SplashImageOptions.

Namespace : DevExpress.XtraSplashScreen

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(ShowMode.Form)]
public ShowMode ShowMode { get; set; }
vb
<DefaultValue(ShowMode.Form)>
Public Property ShowMode As ShowMode

Property Value

TypeDefaultDescription
ShowModeForm

A ShowMode enumeration value that specifies whether to display the splash screen as a form or as the form’s image.

|

Available values:

NameDescription
Form

Displays a splash form.

| | Image |

Displays the default or custom image specified in SplashScreen.SplashImageOptions. Fade effects are not supported in Image display mode.

|

Remarks

The SplashScreen class is a form that can contain other controls. This form is displayed as a splash screen in Form mode.

Instead of the form and its controls, you can display an image as a splash screen:

  • set the ShowMode property to Image
  • use the SplashImageOptions to specify the image. The splash screen supports vector images, transparent images, images of irregular forms with shadows, etc. Fade effects are not supported.

The form’s controls are hidden in Image mode. Enable the AllowControlsInImageMode option to show the controls over the image.

See Also

SplashScreen Class

SplashScreen Members

DevExpress.XtraSplashScreen Namespace