PivotCustomDrawCellBaseEventArgs.ColumnField Property
Gets the innermost column field that corresponds to the current cell.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.XtraPivotGrid.v24.2.dll
NuGet Package: DevExpress.Win.PivotGrid
#Declaration
public PivotGridField ColumnField { get; }
#Property Value
Type | Description |
---|---|
Pivot |
A Pivot |
#Remarks
If the current cell resides within a Column Grand Total, the ColumnField property returns null. Otherwise, this property returns the innermost column field that corresponds to the current cell.
Use the PivotCustomDrawCellBaseEventArgs.GetColumnFields method to obtain all column fields that correspond to the current cell.
To obtain the corresponding row fields, use the PivotCustomDrawCellBaseEventArgs.RowField property and PivotCustomDrawCellBaseEventArgs.GetRowFields method respectively.
To determine which data field identifies the current cell, use the PivotCustomDrawCellBaseEventArgs.DataField property.
Note
If you try to access the Column