Class
RadSplashScreenManager

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:

cs-api-definition
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

cs-api-definition
public static RadAnimation HideAnimation { get; set; }

Property Value

RadAnimation

IsSplashScreenActive

Gets a value indicating whether or not there is a splash screen window opened.

Declaration

cs-api-definition
public static bool IsSplashScreenActive { get; }

Property Value

bool

ShowAnimation

Gets or sets a RadAnimation that will be shown when the splash screen window is opened.

The default value is FadeAnimation.

Declaration

cs-api-definition
public static RadAnimation ShowAnimation { get; set; }

Property Value

RadAnimation

SplashScreenDataContext

Gets or sets an object that will be set as the DataContext of the splash screen window.

Declaration

cs-api-definition
public static object SplashScreenDataContext { get; set; }

Property Value

object

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

cs-api-definition
public static Point? StartupPosition { get; set; }

Property Value

Point?

Methods

Close()

Closes the currently opened splash screen, if there is one.

Declaration

cs-api-definition
public static void Close()

Reset()

Resets the RadSplashScreenManager properties to their default values.

Declaration

cs-api-definition
public static void Reset()

Show()

Shows a splash screen window with a RadSplashScreen as its content.

Declaration

cs-api-definition
public static void Show()

Show<T>()

Shows a splash screen window with an instance of the passed type as its content.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter")]
public static void Show<T>() where T : FrameworkElement, new()