SplashScreenManager.ShowForm(Form, Type, Boolean, Boolean, Boolean, SplashFormStartPosition, Point, Boolean) Method
Creates and displays the specified SplashScreen or WaitForm descendant, allowing you to manually position it.
The method’s parameter allows you to specify whether the splash form is displayed using the glow effect.
Namespace: DevExpress.XtraSplashScreen
Assembly: DevExpress.XtraEditors.v19.2.dll
Declaration
public static void ShowForm(
Form parentForm,
Type splashFormType,
bool useFadeIn,
bool useFadeOut,
bool throwExceptionIfAlreadyOpened,
SplashFormStartPosition startPos,
Point location,
bool allowGlowEffect
)
Parameters
Name | Type | Description |
---|---|---|
parentForm | Form | A Form relative to which the displayed splash form is positioned. This parameter is in effect when a WaitForm is displayed. |
splashFormType | Type | The type of splash form to be displayed. |
useFadeIn | Boolean | true, to use the fade-in effect when opening the form; otherwise, false. |
useFadeOut | Boolean | true, to use the fade-out effect when closing the form; otherwise, false. |
throwExceptionIfAlreadyOpened | Boolean | true, to throw an exception if another splash form has already been opened; false to suppress this exception. |
startPos | SplashFormStartPosition | The splash form’s arrangement. |
location | Point | Coordinates at which the splash form is shown (if the startPos parameter is set to Manual). |
allowGlowEffect | Boolean | true, to use the glow effect when displaying the splash form; otherwise, false. |
Remarks
The allowGlowEffect parameter allows you to specify whether to use the glow effect when displaying the splash form. The glow colors for the splash from in the active and inactive states can be specified by the SplashFormBase.ActiveGlowColor and SplashFormBase.InactiveGlowColor properties, respectively.
To close the opened splash form, use the SplashScreenManager.CloseForm method.