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

PivotGridField Class

Represents a field within the PivotGridControl control.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v17.2.dll

Declaration

public class PivotGridField :
    PivotGridFieldBase,
    IPivotGridViewInfoDataOwner,
    ISupportLookAndFeel

Remarks

PivotGridField objects represent fields within the PivotGridControl control. A field can be displayed within one of four areas: Column Header Area, Row Header Area, Data Area or Filter Header Area. The fields located within these areas are called column fields, row fields, data fields and filter fields, respectively. A field’s area and its position within its area are specified by the PivotGridFieldBase.Area and PivotGridFieldBase.AreaIndex properties.

The PivotGridControl control supports bound and unbound fields. Bound fields get their data from a specific field in the control’s underlying data source. This field is specified by the PivotGridFieldBase.FieldName property. Data for unbound fields should be supplied manually - via the PivotGridControl.CustomUnboundFieldData event.

The following code snippets (auto-collected from DevExpress Examples) contain references to the PivotGridField 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