View.Refresh() Method

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public void Refresh()
Public Sub Refresh

Remarks

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 refreshes data from the data source but does not reload the data source itself. To reload data from the database, use another overload of this method that takes the refreshDataSource parameter.

See Also