Skip to main content
.NET 6.0+

ViewItem.RefreshDataSource() Method

Refreshes the data source of the current ViewItem.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public virtual void RefreshDataSource()

Remarks

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

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

Method Overload Description
ListPropertyEditor.RefreshDataSource Calls the ListView.RefreshDataSource method.
DetailPropertyEditor.RefreshDataSource Calls the DetailView.RefreshDataSource method.
See Also