Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ViewItem.Refresh(Boolean) Method

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

Namespace: DevExpress.ExpressApp.Editors

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