Skip to main content

PivotFieldValueEventArgsBase<T>.CustomTotal Property

Gets the custom total that corresponds to the currently processed column/row header.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v24.1.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

public PivotGridCustomTotalBase CustomTotal { get; }

Property Value

Type Description
PivotGridCustomTotalBase

A PivotGridCustomTotalBase class descendant that specifies the custom total that corresponds to the currently processed column/row header.

Remarks

If the currently processed header corresponds to a custom total, the PivotFieldValueEventArgsBase<T>.ValueType property returns the PivotGridValueType.CustomTotal value and the CustomTotal property returns a PivotGridCustomTotalBase descendant that represents this custom total. If the currently processed header does not correspond to a custom total, the CustomTotal property returns null (Nothing in Visual Basic).

See Also