View.Refresh(Boolean) Method

Refreshes displayed values of the View's controls with new values from the data source collection (and optionally, from the database itself).

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll


public void Refresh(
    bool refreshDataSource
Public Sub Refresh(
    refreshDataSource As Boolean


Type Name Description
Boolean refreshDataSource

true, if the data source needs to be refreshed as well; otherwise, false.


Use this method to manually refresh control values in the current View when displayed objects do not raise notifications on data changes themselves (e.g., when the object type does not support INotifyPropertyChanged, or when the data source does not support IBindingList).

The Refresh method calls View.RefreshDataSource when the refreshDataSource parameter is set to true.

See Also