Skip to main content
.NET Framework 4.5.2+

ViewItem.Refresh(Boolean) Method

Refreshes the current View Item. Optionally, refreshes the View Item’s data source.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v22.2.dll

NuGet Package: DevExpress.ExpressApp


public void Refresh(
    bool refreshDataSource


Name Type Description
refreshDataSource Boolean

true, if the data source needs to be refreshed as well; otherwise, false.


Refresh is called when the current Detail View is refreshed.

The Refresh method raises an exception if the current View Item is disposed. It can be overridden in descendants.

The Refresh method calls ViewItem.RefreshDataSource when the refreshDataSource parameter is set to true.

See Also