DataSource for Entity Framework in WPF
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.
    Syntax
    'Declaration
     
    Public Overridable Property MaintenanceMode As ViewMaintenanceMode
    public virtual ViewMaintenanceMode MaintenanceMode {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 View.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