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

GridControl.OptimizeSummaryCalculation Property

Specifies whether to optimize summary calculation. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v18.2.dll

Declaration

public bool OptimizeSummaryCalculation { get; set; }

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.

See Also