Gets or sets a value controlling how the view is synchronized with changes in its base data.
Namespace:
C1.LiveLinq.LiveViewsAssembly: C1.Silverlight.LiveLinq (in C1.Silverlight.LiveLinq.dll)
Syntax
C# |
---|
public virtual ViewMaintenanceMode MaintenanceMode { get; set; } |
Visual Basic |
---|
Public Overridable Property MaintenanceMode As ViewMaintenanceMode Get Set |
Remarks
A view in Default mode (which is the default value for this property) is effectively in Immediate mode if it has a listener (for example, if a GUI control is bound to it); otherwise it is in Deferred mode. To find out whether the view is effectively in Deferred or in Immediate mode, you can use the DeferredMaintenance property.
If you set this property to Deferred, no listeners are allowed to register with this view. An attempt to register a listener will result in an exception.
See Also:View Maintenance Mode.