Class
RadControlAnimationTimer

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

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public class RadControlAnimationTimer

Inheritance: objectRadControlAnimationTimer

Constructors

RadControlAnimationTimer()

Declaration

cs-api-definition
public RadControlAnimationTimer()

Properties

Interval

Gets or sets the timer interval in milliseconds.

Declaration

cs-api-definition
public int Interval { get; set; }

Property Value

int

The interval between timer ticks in milliseconds.

IsRunning

Gets a value indicating whether the timer is currently running.

Declaration

cs-api-definition
public bool IsRunning { get; }

Property Value

bool

true if the timer is running; otherwise, false.

Methods

OnTick(EventArgs)

Raises the Tick event.

Declaration

cs-api-definition
protected void OnTick(EventArgs e)

Parameters

e

EventArgs

The event arguments.

Start()

Starts the animation timer.

Declaration

cs-api-definition
public void Start()

Stop()

Stops the animation timer.

Declaration

cs-api-definition
public void Stop()

Suspend()

Suspends all animation timers temporarily.

Declaration

cs-api-definition
public static void Suspend()

Events

Tick

Occurs when the timer interval has elapsed.

Declaration

cs-api-definition
public event EventHandler Tick

Event Value

EventHandler