Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

View.RefreshDataSource() Method

In This Article

Refreshes the data source of the current View.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public virtual void RefreshDataSource()

#Remarks

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