Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SplashScreen.AutoFitImage Property

Get or sets if the SplashScreen is resized to fit its image in Image mode.

Namespace: DevExpress.XtraSplashScreen

Assembly: DevExpress.XtraEditors.v24.2.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 image in Image mode; otherwise, false.

#Remarks

Depending on the SplashScreen.ShowMode property, a SplashScreen can be displayed either in Form or Image mode. By default, the SplashScreen is automatically resized in Image mode to fit its image 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