Skip to main content
.NET 6.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.v23.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public void Refresh(
    bool refreshDataSource
)

Parameters

Name Type Description
refreshDataSource Boolean

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

Remarks

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