.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

View.RefreshDataSource() Method

Refreshes the data source of the current View.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v20.2.dll


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.
See Also