Skip to main content
.NET Framework 4.5.2+

View.RefreshDataSource() Method

Refreshes the data source of the current View.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.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