Skip to main content

TreeListCustomSummaryEventArgs.TotalValue Property

Gets or sets the total summary value.

Namespace: DevExpress.Xpf.Grid.TreeList

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

#Declaration

public object TotalValue { get; set; }

#Property Value

Type Description
Object

An object that specifies the total summary value.

#Remarks

The TotalValue property accumulates the custom calculated total value. Note that this property should be initialized before the summary calculation process starts. To identify the status of the custom summary calculation, use the TreeListCustomSummaryEventArgs.SummaryProcess property. When performing calculations, you need to refresh the TotalValue property for it to be updated with the new values.

You can also update the TotalValue property's value when finalizing the calculation. In this instance, the TreeListCustomSummaryEventArgs.SummaryProcess property returns the CustomSummaryProcess.Finalize value.

See Also