New to Telerik UI for WinFormsStart a free 30-day trial

Provides a high-resolution timer for RadControl animations with shared timer optimization.

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

C#
public class RadControlAnimationTimer

Inheritance: objectRadControlAnimationTimer

Constructors

C#
public RadControlAnimationTimer()

Properties

Gets or sets the timer interval in milliseconds.

C#
public int Interval { get; set; }
Property Value:

The interval between timer ticks in milliseconds.

Gets a value indicating whether the timer is currently running.

C#
public bool IsRunning { get; }
Property Value:

true if the timer is running; otherwise, false.

Methods

Raises the Tick event.

C#
protected void OnTick(EventArgs e)
Parameters:eEventArgs

The event arguments.

Starts the animation timer.

C#
public void Start()

Stops the animation timer.

C#
public void Stop()

Suspends all animation timers temporarily.

C#
public static void Suspend()

Events

Occurs when the timer interval has elapsed.

C#
public event EventHandler Tick