'Declaration Public Overridable Property MaintenanceMode As ViewMaintenanceMode
public virtual ViewMaintenanceMode MaintenanceMode {get; set;}
'Declaration 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.