BaseSplash<T>
Provides shared form, threading, and action-queue behavior for splash, overlay, and flyout screens.
Definition
Namespace:Telerik.WinControls.UI.SplashScreen
Assembly:Telerik.WinControls.UI.dll
Type Parameters:
T
The form type created by the derived screen.
Syntax:
public abstract class BaseSplash<T> : IDisposable where T : Form
Inheritance: objectBaseSplash<T>
Derived Classes:
Implements:
Constructors
Initializes the base splash state; the form, animation manager, and action queue are created lazily.
public BaseSplash()
Properties
Gets or sets the animation manager, which holds the animation settings and is responsible for the animation.
public SplashAnimationManager AnimationManager { get; set; }
Form
T
Gets or sets the splash form, creating it through CreateFrom() when the getter first needs it.
protected virtual T Form { get; set; }
Gets whether the screen's form instance has been created; it may not yet be visible.
public bool IsActive { get; }
Gets or sets the theme name of the splash form.
public string ThemeName { get; set; }
Methods
Starts the specified action on a new background STA thread.
protected virtual void CreateAndStartBackgroundThreadWithAction(ThreadStart action)
The action to run on the new thread.
Exceptions: InvalidOperationExceptionA thread is already assigned to this splash instance.
Creates a form.
public abstract T CreateFrom()
T
The created form.
Clears queued actions and cached references to the form, thread, and animation manager.
public virtual void Dispose()
Implements:
This method does not close or dispose the form or stop its thread.
Invokes an action on the splash form when its handle is ready; otherwise queues it for processing by the derived screen.
protected virtual void ExecuteAction(Action action)
The action to invoke or queue.