New to Telerik UI for WinForms? Start a free 30-day trial

Provides a WinForms timer with a TimeSpan interval for Spreadsheet compatibility.

Definition

Namespace:Telerik.WinControls.Spreadsheet.UI

Assembly:Telerik.WinControls.RadSpreadsheet.dll

Syntax:

C#
public class DispatcherTimer : Timer, IComponent, IDisposable

Inheritance: objectMarshalByRefObjectComponentTimerDispatcherTimer

Implements: IComponentIDisposable

Inherited Members Timer.Dispose(bool)Timer.OnTick(EventArgs)Timer.Start()Timer.Stop()Timer.ToString()Timer.TagTimer.EnabledTimer.Tick...

Constructors

C#
public DispatcherTimer()

Properties

Gets or sets the timer interval; assigned durations are truncated to whole milliseconds and clamped to at least 20 milliseconds.

C#
public TimeSpan Interval { get; set; }

Gets whether the underlying WinForms timer is enabled.

C#
public bool IsEnabled { get; }