Refreshes the current View Item. Optionally, refreshes the View Item's data source.
Namespace: DevExpress.ExpressApp.Editors
Assembly: DevExpress.ExpressApp.v18.2.dll
public void Refresh(
bool refreshDataSource
)
Public Sub Refresh(
refreshDataSource As Boolean
)
Type | Name | Description |
---|---|---|
Boolean | refreshDataSource | 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.