wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridfield-3806f25b.md
Gets or sets the PivotGridField.FieldName of the field whose summary values define the order in which the field’s values are arranged. This is a dependency property.
Namespace : DevExpress.Xpf.PivotGrid
Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll
NuGet Package : DevExpress.Wpf.PivotGrid
public string SortByFieldName { get; set; }
Public Property SortByFieldName As String
| Type | Description |
|---|---|
| String |
A String value that specifies the PivotGridField.FieldName of the field whose summary values define the order in which the field’s values are arranged.
|
To sort data by summaries, do the following:
PivotGridField.SortByFieldName property to specify a field (typically a data field) against which summary values should be calculated. If the PivotGridField.SortByField property is used, the summary type is specified by this field’s PivotGridField.SummaryType property. If the PivotGridField.SortByFieldName property is used, the required summary type should be specified using the PivotGridField.SortBySummaryType property.To learn more, see Sorting by Summary.
See Also