All docs
V20.1
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

Fluent Splash Screen

  • 2 minutes to read

A Windows 10-inspired splash screen.

  • Features an Acrylic material effect - a partially transparent texture.
  • You can customize and show this splash screen in code.

Show and Close Splash Screen

You can manually create and show a fluent splash screen with the static SplashScreenManager.ShowFluentSplashScreen method (for instance, you can call it on the application startup). The method's arguments allow you to specify the content for predefined regions, screen positions, fade animation effects, etc. The image below demonstrates splash screen regions you can customize.

To close the splash screen, use the static SplashScreenManager.CloseForm method.

using DevExpress.XtraSplashScreen;

// Show a splashscreen.
FluentSplashScreenOptions op = new FluentSplashScreenOptions();
op.Title = "When Only The Best Will Do";
op.Subtitle = "DevExpress WinForms Controls";
op.RightFooter = "Starting...";
op.LeftFooter = "Copyright © 2000 - 2020 Developer Express Inc." + Environment.NewLine + "All Rights reserved.";
op.LoadingIndicatorType = FluentLoadingIndicatorType.Dots;
op.OpacityColor = Color.Gray;
op.Opacity = 130;
op.LogoImageOptions.SvgImage = Resources.Logo;

DevExpress.XtraSplashScreen.SplashScreenManager.ShowFluentSplashScreen(
    op,
    parentForm: this,
    useFadeIn: true,
    useFadeOut: true
);

//Do an operation
//...

//Close the splashscreen
DevExpress.XtraSplashScreen.SplashScreenManager.CloseForm();

Update Splash Screen Dynamically

Splash screens are displayed in a separate thread. You can dynamically update the contents of the current splash screen with a command sent by the SplashScreenManager.SendCommand method.

FluentSplashScreenOptions op = new FluentSplashScreenOptions();
op.RightFooter = "Done";
SplashScreenManager.Default.SendCommand(FluentSplashScreenCommand.UpdateOptions, op);

The DevExpress.XtraSplashScreen.FluentSplashScreenCommand type enumerates the supported commands.

public enum FluentSplashScreenCommand {
    UpdateOptions,
    SubscribeToCustomDrawEvent
}
See Also