Skip to main content

SplashScreen.AutoFitImage Property

Get or sets if the SplashScreen is resized to fit its SplashScreen.SplashImage when displayed in Image mode.

Namespace: DevExpress.XtraSplashScreen

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(true)]
public bool AutoFitImage { get; set; }

Property Value

Type Default Description
Boolean true

true if the SplashScreen is resized to fit its SplashScreen.SplashImage when displayed in Image mode; otherwise, false.

Remarks

Depending on the SplashScreen.ShowMode property, a SplashScreen can be displayed either in the Form or Image mode. By default, the SplashScreen is automatically resized in Image mode to fit its SplashScreen.SplashImage both at design time and runtime. Set the AutoFitImage property to false to manually resize a SplashScreen form in Image mode. This makes sense if you still want your custom controls to be displayed on a SplashScreen (see the SplashScreen.AllowControlsInImageMode property).

See Also