DomainDataSource.LoadDelay Property

WCF RIA Services

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Gets or sets the delay before an automatic data loading operation is started.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.DomainServices (in System.Windows.Controls.DomainServices.dll)

public TimeSpan LoadDelay { get; set; }

Property Value

Type: System.TimeSpan
The delay between the time a change that prompts an automatic load occurs and the time the subsequent Load is invoked.

Multiple changes that occur within the specified time span are aggregated into a single Load operation. For every change that occurs, the delay timer is reset. This allows many changes to be combined into a single call as long as each change occurs within the specified delay from the last. Once the delay timer is allowed to elapse without a change occurring, Load will be invoked.