ComponentOne Data Source for Entity Framework
C1.LiveLinq.LiveViews Namespace / View Class / MaintenanceMode Property

In This Topic
    MaintenanceMode Property (View)
    In This Topic
    Gets or sets a value controlling how the view is synchronized with changes in its base data.
    Public Overridable Property MaintenanceMode As ViewMaintenanceMode
    public virtual ViewMaintenanceMode MaintenanceMode {get; set;}

    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.

    See Also