How to Update the Custom UserControl of the SplashScreen
Environment
Product Version | Product | Author |
---|---|---|
2023.1.314 | SplashScreen for WinForms | Desislava Yordanova |
Description
The SplashScreen from the Telerik UI for WinForms suite offers the possibility to show a custom UserControl. This article demonstrates a sample approach how to update the UserControl outside its class.
Solution
The RadSplashScreenManager internally uses a background Thread for showing the splash. Make sure that you don't access the RadSplashScreenControl or its elements outside 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.