SplashScreenManager.ShowForm(UserControl, Type, Boolean, Boolean, ParentFormState) Method
Creates and displays the specified WaitForm, centering it against the form containing the specified UserControl.
The method’s parameter allows you to disable this form while the splash form is displayed.
Namespace: DevExpress.XtraSplashScreen
Assembly: DevExpress.XtraEditors.v19.1.dll
Declaration
public static void ShowForm(
UserControl parentControl,
Type splashFormType,
bool useFadeIn,
bool useFadeOut,
ParentFormState parentFormDesiredState
)
Parameters
Name | Type | Description |
---|---|---|
parentControl | UserControl | A UserControl. The splash form is centered against the form where the UserControl resides. |
splashFormType | Type | The type of WaitForm 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. |
parentFormDesiredState | DevExpress.XtraSplashScreen.ParentFormState | A ParentFormState enumeration value that specifies whether the parent form is enabled while the splash form is displayed. |
Remarks
This method overload is only supported for displaying WaitForms.
See Also