Skip to main content
A newer version of this page is available. .

FieldValueCell Class

Represents a field value cell.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v17.2.dll

Declaration

public class FieldValueCell :
    FieldValueCellBase<PivotGridField>

The following members accept/return FieldValueCell objects:

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the FieldValueCell class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also