Back to Devexpress

Built-in Progress Bar

wpf-9953-controls-and-libraries-windows-and-utility-controls-dxsplashscreen-built-in-progress-bar.md

latest1.7 KB
Original Source

Built-in Progress Bar

  • Oct 13, 2023

Note

You are viewing documentation for the legacy DXSplashScreen. We recommend that you use the Splash Screen Manager or the SplashScreenManagerService to add the splash screen functionality to your applications.

Built-in Progress Bar

A default splash screen contains a marquee progress bar, which continuously changes its progress. When you manually display/close DXSplashScreen, you can set its display mode to regular where the progress changes between 0 and 100. To change a display mode to regular and to step through progress, use the static DXSplashScreen.Progress(double value) method.

csharp
for(int i = 0; i <= 100; i++) {
    DXSplashScreen.Progress(i);
    //...
}

You can use the DXSplashScreen.SetState method to pass custom information to a splash screen. The example below demonstrates how to use this method.

See Also

How to: Add DXSplashScreen to Your Project

How to: Automatically Invoke DXSplashScreen

How to: Manually Invoke DXSplashScreen