DomainDataSource.LoadDelay Property
[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)
Syntax
'Declaration
Public Property LoadDelay As TimeSpan
Get
Set
'Usage
Dim instance As DomainDataSource
Dim value As TimeSpan
value = instance.LoadDelay
instance.LoadDelay = value
public TimeSpan LoadDelay { get; set; }
public:
property TimeSpan LoadDelay {
TimeSpan get ();
void set (TimeSpan value);
}
member LoadDelay : TimeSpan with get, set
function get LoadDelay () : TimeSpan
function set LoadDelay (value : TimeSpan)
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.
Remarks
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.
See Also
Reference
System.Windows.Controls Namespace