PivotGridControl.SortBySummaryDefaultOrder Property
Gets or sets the sort order applied to a field when sorting by summaries is enabled for it.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v14.2.dll
#Declaration
[XtraSerializablePropertyId(0)]
[XtraSerializableProperty]
public FieldSortBySummaryOrder SortBySummaryDefaultOrder { get; set; }
#Property Value
Type | Description |
---|---|
Field |
A Field |
#Remarks
The field sort order is specified by the PivotGridField.SortOrder property. If the SortBySummaryDefaultOrder property is set to FieldSortBySummaryOrder.Default, sorting by summaries does not change the PivotGridField.SortOrder property value. Otherwise, if the SortBySummaryDefaultOrder property is set to either FieldSortBySummaryOrder.Ascending or FieldSortBySummaryOrder.Descending, the PivotGridField.SortOrder property will be set to FieldSortOrder.Ascending or FieldSortOrder.Descending (respectively) when sorting by summaries is enabled.
To learn more, see Sorting by Summary.