ClassRadSplashScreenManager
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
HideAnimation
Gets or sets a RadAnimation that will be shown when the splash screen window is closed.
The default value is FadeAnimation.
Declaration
public static RadAnimation HideAnimation { get; set; }
Property Value
IsSplashScreenActive
Gets a value indicating whether or not there is a splash screen window opened.
ShowAnimation
Gets or sets a RadAnimation that will be shown when the splash screen window is opened.
The default value is FadeAnimation.
Declaration
public static RadAnimation ShowAnimation { get; set; }
Property Value
SplashScreenDataContext
Gets or sets an object that will be set as the DataContext of the splash screen window.
Declaration
public static object SplashScreenDataContext { get; set; }
Property Value
StartupPosition
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.
Declaration
public static Point? StartupPosition { get; set; }
Property Value
Point?
Methods
Close()
Closes the currently opened splash screen, if there is one.
Declaration
public static void Close()
Reset()
Resets the RadSplashScreenManager properties to their default values.
Declaration
public static void Reset()
Show()
Shows a splash screen window with a RadSplashScreen as its content.
Declaration
public static void Show()
Show<T>()
Shows a splash screen window with an instance of the passed type as its content.
Declaration
[SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter")]
public static void Show<T>() where T : FrameworkElement, new()