GridControl.OptimizeSummaryCalculation Property
Specifies whether to optimize summary calculation. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v19.2.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, to optimize summary calculation; otherwise, false. |
Remarks
By default, any changes in the data source causes a complete summary recalculation. If the OptimizeSummaryCalculation property is set to true, the GridControl processes only a particular change when recalculating summaries.
Note
The GridControl should be bound to an ObservableCollection whose items implement the INotifyPropertyChanged and INotifyPropertyChanging interfaces.
You can use the POCO mechanism to implement the INotifyPropertyChanging interface with a single line of code. Assign the POCOViewModelAttribute to a POCO view model class and set its POCOViewModelAttribute.ImplementINotifyPropertyChanging property to true.
Calculation of custom summaries and summaries for unbound columns cannot be optimized.