PivotCustomDrawCellBaseEventArgs.DataField Property
Gets the data field that identifies the current cell.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.XtraPivotGrid.v24.2.dll
NuGet Package: DevExpress.Win.PivotGrid
#Declaration
public PivotGridField DataField { get; }
#Property Value
Type | Description |
---|---|
Pivot |
A Pivot |
#Remarks
To obtain column and row fields that correspond to the processed cell, use the PivotCustomDrawCellBaseEventArgs.GetColumnFields and PivotCustomDrawCellBaseEventArgs.GetRowFields methods respectively. To get values of the fields that identify the processed cell, use the PivotCustomDrawCellBaseEventArgs.GetFieldValue method.
You can also use the PivotCustomDrawCellBaseEventArgs.ColumnField and PivotCustomDrawCellBaseEventArgs.RowField properties to obtain the innermost column and row fields that correspond to the processed cell.
Note
If you try to access the Data