Provides a static class for managing the display and behavior of a splash screen in a WPF application.
The RadSplashScreenManager allows for customization of the splash screen's content, animations,
and initial display properties. It provides methods to show and close the splash screen, as well as
properties to configure the data context, position, and animations applied during the opening and closing
of the splash screen. Multiple instances of the splash screen cannot be displayed simultaneously, and
proper exception handling is implemented to prevent such scenarios. Defaults are provided for animation
effects and initial settings upon manager reset.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
public static class RadSplashScreenManager
Inheritance: objectRadSplashScreenManager
Properties
Gets or sets a RadAnimation that will be shown when the splash screen window is closed.
The default value is FadeAnimation.
public static RadAnimation HideAnimation { get; set; }
Gets a value indicating whether or not there is a splash screen window opened.
public static bool IsSplashScreenActive { get; }
Gets or sets a RadAnimation that will be shown when the splash screen window is opened.
The default value is FadeAnimation.
public static RadAnimation ShowAnimation { get; set; }
Gets or sets an object that will be set as the DataContext of the splash screen window.
public static object SplashScreenDataContext { get; set; }
StartupPosition
Point?
Gets or sets a Point that allows for controlling the initial values of the Top and Left properties of the splash screen window. The X value of the Point will be set to the Left property of the window and the Y value of the point will be set to the Top property.
public static Point? StartupPosition { get; set; }
Methods
Closes the currently opened splash screen, if there is one.
public static void Close()
Resets the RadSplashScreenManager properties to their default values.
public static void Reset()
Shows a splash screen window with a RadSplashScreen as its content.
public static void Show()
Shows a splash screen window with an instance of the passed type as its content.
public static void Show<T>() where T : FrameworkElement, new()