wpf-devexpress-dot-xpf-dot-pivotgrid-dot-fieldvaluecell-6c94ccae.md
Gets the field whose value the cell represents.
Namespace : DevExpress.Xpf.PivotGrid
Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll
NuGet Package : DevExpress.Wpf.PivotGrid
public PivotGridField Field { get; }
Public ReadOnly Property Field As PivotGridField
| Type | Description |
|---|---|
| PivotGridField |
A PivotGridField object that represents the field whose value the cell represents.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Field 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.
wpf-pivot-grid-split-field-value-cells/CS/Window1.xaml.cs#L30
return matchCell.ValueType == FieldValueType.GrandTotal &&
matchCell.Field == null;
});
wpf-pivot-grid-split-field-value-cells/VB/Window1.xaml.vb#L30
' Only cells that match this predicate are split.
Dim condition As Predicate(Of FieldValueCell) = New Predicate(Of FieldValueCell)(Function(ByVal matchCell) matchCell.ValueType = FieldValueType.GrandTotal AndAlso matchCell.Field Is Nothing)
' Creates a list of cell definitions that represent newly created cells.
See Also