ComponentOne DataObjects for .NET
SuppressNotifications Property

C1.Data.2 Assembly > C1.Data Namespace > C1DataSet Class : SuppressNotifications Property
Gets or sets a value indicating whether data bound controls must be notified of changes in the data set.
Syntax
'Declaration
 
Public Property SuppressNotifications As System.Boolean
public System.bool SuppressNotifications {get; set;}
Remarks
This run-time property is set to True by default, which means that data bound controls receive notifications of any change made to the data set. Notifications are issued by C1DataObjects after every end-user or programmatic action causing changes in the data set. C1DataObjects issues notifications when the action is completely handled. Having received a change notification, data bound controls usually repaint themselves to reflect the changed data.

In some cases, it is necessary to suppress notifications to be able to perform multiple actions in a batch without causing changes in data bound controls. Setting the SuppressNotifications property to False disables sending notifications to data bound controls. If you suppress notifications, data bound controls will not be notified of any changes, so you have to explicitly call C1DataTable.Refresh for all changed table views to make data bound controls refresh their contents.

See Also

Reference

C1DataSet Class
C1DataSet Members