View.RefreshDataSource() Method

Refreshes the data source of the current View.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.1.dll

Syntax

public virtual void RefreshDataSource()

To refresh the data source together with the View's control values, use the View.Refresh method with the refreshDataSource parameter.

This method is overloaded in View descendants in the following way:

Method Overload Description
ListView.RefreshDataSource Calls the CollectionSourceBase.Reload method.
DetailView.RefreshDataSource Calls the IObjectSpace.ReloadObject method and passes the DetailView.CurrentObject object to it.