Dispatcher
Marshals actions to the UI thread associated with a RadControl.
Definition
Namespace:Telerik.WinControls.Spreadsheet.UI
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
public class Dispatcher
Inheritance: objectDispatcher
Constructors
Associates the dispatcher with the control used to determine thread affinity and invoke actions.
public Dispatcher(RadControl control)
The control whose UI thread is used for invocation.
Methods
Runs an action using the same thread-dispatch behavior as the overload without a priority.
public void BeginInvoke(Action executeNext, DispatcherPriority priority)
The action to run.
priorityDispatcherPriorityIgnored; the current dispatcher does not schedule by priority.
The action is queued only when invocation is required and the control handle exists; otherwise it runs synchronously on the calling thread.
Runs an action on the associated control's UI thread when cross-thread invocation is available.
public void BeginInvoke(Action executeNext)
The action to run.
The action is queued only when invocation is required and the control handle exists; otherwise it runs synchronously on the calling thread.