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

ViewItem.Refresh(Boolean) Method

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

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v20.2.dll


public void Refresh(
    bool refreshDataSource
Public Sub Refresh(
    refreshDataSource As Boolean


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