Skip to main content
A newer version of this page is available. .

DataControlBase.RefreshData() Method

Updates the control’s data.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v21.2.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public void RefreshData()

Remarks

A data source type affects how the GridControl processes data shaping operations:

IBindingList
Data shaping operations are already enabled.
INotifyPropertyChanged
The GridControl ignores data shaping operations. To process these operations, set the AllowLiveDataShaping property to true or call the RefreshData method.

Refer to the following topic for information on how to optimize data updates within the GridControl: Frequent Data Updates.

The following code snippets (auto-collected from DevExpress Examples) contain references to the RefreshData() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also