SplashScreen
Creates and manages a splash form on a background STA thread, using the default splash control or custom form/control content.
Definition
Namespace:Telerik.WinControls.UI.SplashScreen
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class SplashScreen : BaseSplash<RadSplashScreenForm>, IDisposable
Inheritance: objectBaseSplash<RadSplashScreenForm>SplashScreen
Implements:
Inherited Members
Constructors
Creates a splash screen configured to be topmost and centered on the current screen.
public SplashScreen()
Properties
Gets or sets the desktop location when the StartPosition is Manual.
public Point Location { get; set; }
Gets or sets the screen start position.
public SplashStartPosition StartPosition { get; set; }
Methods
Attaches to the splash/overlay form events.
Closes the splash form.
public virtual void Close()
Creates a splash form.
public override RadSplashScreenForm CreateFrom()
The created form.
Overrides:
Detaches from splash/overlay form events.
Disposes the base splash state and clears the pending default settings.
public override void Dispose()
Overrides:
Sets the main text if the displayed control is RadSplashScreenControl
Sets the footer text if the displayed control is RadSplashScreenControl.
Sets the footer icon if the displayed control is RadSplashScreenControl.
Sets the main image if the displayed control is RadSplashScreenControl
Sets the progress value when the displayed control is RadSplashScreenControl. The value is shown when the progress indicator is in the determinate state.
Sets the progress indicator state if the displayed control is RadSplashScreenControl
public virtual void SetState(SplashScreenProgressIndicatorState newState)
The new progress indicator state.
Shows a splash form with the default splash control.
public virtual void Show(RadSplashScreenSettings settings)
The initial settings of the splash.
Shows a splash form with given content type.
Starts the splash on a background thread, or throws if another splash is already active.
protected virtual void ShowInternal(Type content)
The type of the form or control to display.
Exceptions: InvalidOperationExceptionA splash screen is already active.
Attaches splash lifecycle handlers and starts a message loop for the form on the splash thread.
protected virtual void ShowSplashForm(Form splashForm)
The form to show.
Creates the requested content and displays it as a form or within the splash form. The default control receives the pending RadSplashScreenSettings when settings were supplied.
protected virtual void ShowSplashScreen(Type controlType)
The created instance is neither a form nor a control.