GridControl.OptimizeSummaryCalculation Property
Specifies whether to optimize summary calculation. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.2.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
Property Value
Type | Description |
---|---|
Boolean | true to recalculate data summaries only for the changed record; false to recalculate summaries for all records. |
Remarks
We recommend that you optimize summary calculation in the following case:
- The GridControl is bound to an ObservableCollection<T> whose items implement the INotifyPropertyChanged and INotifyPropertyChanging interfaces.
- Columns with summaries are not unbound columns.
- You do not use custom summaries.
- You do not lock the GridControl to process updates in batches.
Refer to the following topic for information on how to optimize data updates within the GridControl: Frequent Data Updates.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the OptimizeSummaryCalculation property.
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.