SplashScreenManager.SplashFormStartPosition Property
Gets or sets the arrangement of a splash form (SplashScreen or WaitForm).
Namespace: DevExpress.XtraSplashScreen
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[DefaultValue(SplashFormStartPosition.Default)]
[DXCategory("Layout")]
public SplashFormStartPosition SplashFormStartPosition { get; set; }
Property Value
Type | Default | Description |
---|---|---|
SplashFormStartPosition | Default | A SplashFormStartPosition enumerator value specifying the arrangement of a splash form (SplashScreen or a WaitForm). |
Available values:
Name | Description |
---|---|
Default | The position is not specified explicitly. If the main application form is not yet displayed, the splash form is shown at the center of the screen. If the main application form is already displayed, the splash form is centered relative to the active form. If the parentForm parameter of a method that shows a wait form is specified, the wait form is centered relative to the parent form. |
Manual | To specify the position, use the SplashScreenManager.SplashFormLocation property or the location parameter of a method that shows the splash form. |
CenterScreen | A splash screen/wait form is displayed at the center of the screen. |
Remarks
By default, a SplashScreen is displayed centered against the screen and a WaitForm is centered against its parent form. You may want to position a splash form manually. In this case, set the manual splash form positioning mode via the SplashFormStartPosition property and use the SplashScreenManager.SplashFormLocation property to the set coordinates at which to show the splash form.