Skip to main content

FieldValueCell.ValueType Property

Gets the type of the cell.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v24.2.dll

NuGet Package: DevExpress.Wpf.PivotGrid

Declaration

public FieldValueType ValueType { get; }

Property Value

Type Description
FieldValueType

A FieldValueType enumeration member that specifies the type of the cell.

Available values:

Name Description
Value

Corresponds to a field value.

Total

Corresponds to an automatic total.

GrandTotal

Corresponds to a grand total.

CustomTotal

Corresponds to a custom total.

Remarks

The ValueType property defines whether the current cell represents a field value, or it is an automatic total, grand total or custom total column/row header. In the first instance, use the FieldValueCellBase.Value property to obtain the field value.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ValueType property.

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