FieldValueCell Class

Represents a field value cell.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v20.1.dll

Declaration

public class FieldValueCell :
    FieldValueCellBase<PivotGridField>
Public Class FieldValueCell
    Inherits FieldValueCellBase(Of PivotGridField)

Returned By

The FieldValueCell.Parent property returns an instance of FieldValueCell.

Remarks

The FieldValueCell class instances are used when handling the PivotGridControl.CustomFieldValueCells event. The FieldValueCell objects are returned by the event parameter's PivotCustomFieldValueCellsEventArgsBase<T1, T2>.GetCell method, and provide data related to individual field value cells.

Use the FieldValueCellBase.DisplayText, FieldValueCellBase.Value and FieldValueCellBase.ValueType properties to obtain the display text of the cell, the field value it represents, and the type of the cell, respectively. To obtain whether the cell is visible and whether it is expanded or collapsed, use the FieldValueCellBase.IsVisible and FieldValueCellBase.IsCollapsed properties, respectively. To obtain whether the cell is a column or row header, use the FieldValueCellBase.IsColumn property.

Use the FieldValueCellBase<T>.Field property to obtain the field whose value the cell represents. If the cell is a data field header, or a data field header's nested cell, use the FieldValueCellBase<T>.DataField property, to obtain the data field that identifies this cell.

See Also