Getting Started with WinForms SplashScreen
The splash screen is represented by a RadSplashScreenForm. Actually, it is a ShapedForm which content is displayed as a splash. There are two modes of the splash:
The splash can display a predefined RadSplashScreenControl by given RadSplashScreenSettings, that contains the initial image and text. The RadSplashScreenControl is built by all the elements of the splash. By default, it is TopMost.
The splash form can contain any control/UserControl, so you can achieve any look and design you like.
The RadSplashScreenManager is responsible for showing/closing a splash screen.
The RadSplashScreenManager internally uses a background Thread for showing the splash. Make sure that you don't access the RadSplashScreenControl or its elements from the main UI thread. Note that all UI controls are not thread safe controls in the whole Windows Forms platform (not just Telerik controls, but all controls out there). You should use an Invoke to update the controls in cross threading scenario.
By default, the RadSplashScreenManager shows the default RadSplashScreenControl:
RadSplashScreenSettings
The RadSplashScreenSettings allows specifying certain settings when showing the default RadSplashScreenControl. The available options are:
- Size - Specifies the splash size.
- Image - Specifies the image displayed in the splash.
- Text - Specifies the text displayed in the splash.
-
State - The SplashScreenProgressIndicatorState enumeration defines members for the possible states of the SplashScreenProgressIndicatorElement.
- Determinate - Defines a determined state. The progress is indicated by a RadProgressBarElement.
- Indeterminate - Defines an undetermined state. The RadWaitingBarElement is used to express the undetermined progress.
- None - The progress indicators are not displayed.
- FooterLogo - Gets or sets the footer's logo.
- FooterText - Gets or set the footer's text.
- StartPosition - Gets or sets the screen start position. The SplashStartPosition can be Manual or CenterScreen. When Manual the position of the form is determined by the RadSplashScreenSettings.Location property. When CenterScreen the splash form is centered on the current display, and has dimensions specified in the RadSplashScreenSettings's Size property.
- Location - Gets or sets the desktop location when the StartPosition is SplashStartPosition.Manual.
SplashAnimationManager
It is accessed by the SplashScreen.AnimationManager property. The following settings are available:
- ShowAnimationType - specifies the animation type when showing the splash. It can be None, Fade, Slide.
- CloseAnimationType - specifies the animation type when closing the splash. It can be None, Fade, Slide.
- ShowAnimationDuration - specifies the duration of the animation for showing the splash.
- CloseAnimationDuration - specifies the duration of the animation for closing the splash.
Telerik UI for WinForms Learning Resources
- Telerik UI for WinForms Overlay Component
- Getting Started with Telerik UI for WinForms Components
- Telerik UI for WinForms Setup
- Telerik UI for WinForms Application Modernization
- Telerik UI for WinForms Visual Studio Templates
- Deploy Telerik UI for WinForms Applications
- Telerik UI for WinForms Virtual Classroom(Training Courses for Registered Users)
- Telerik UI for WinForms License Agreement)