Skip to main content

PivotCustomDrawCellBaseEventArgs.ColumnCustomTotal Property

Gets the column custom total that contains the current cell.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v23.2.dll

NuGet Package: DevExpress.Win.PivotGrid

Declaration

public PivotGridCustomTotal ColumnCustomTotal { get; }

Property Value

Type Description
PivotGridCustomTotal

A PivotGridCustomTotal object, which specifies the column custom total that contains the current cell.

Remarks

If the current cell belongs to a column custom total, the ColumnCustomTotal property returns the corresponding PivotGridCustomTotal object. If the cell does not belong to a column custom total, null is returned.

To obtain the row custom total that contains the current cell, use the PivotCustomDrawCellBaseEventArgs.RowCustomTotal property.

Note

If you try to access the ColumnCustomTotal property while an asynchronous operation is being performed, an exception will be thrown. When the operation is in progress, use the PivotCustomDrawCellBaseThreadSafeEventArgs.ColumnCustomTotal property exposed by a thread-safe event parameter instead. To access the thread-safe event parameter, use the PivotCustomDrawCellBaseEventArgs.ThreadSafeArgs property. To determine whether an asynchronous operation is being performed, use the pivot grid’s IThreadSafeAccessible.IsAsyncInProgress property. For more information, see Asynchronous Mode.

See Also