corelibraries-devexpress-dot-xtrapivotgrid-af2a596c.md
Represents a sort condition used to identify the column/row by whose values the other field values will be sorted.
Namespace : DevExpress.XtraPivotGrid
Assembly : DevExpress.PivotGrid.v25.2.Core.dll
NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
public class PivotGridFieldSortCondition :
IFieldCondition
Public Class PivotGridFieldSortCondition
Implements IFieldCondition
The following members return PivotGridFieldSortCondition objects:
To identify the column/row by whose values their values will be sorted, pivot grid fields hold the PivotGridFieldSortBySummaryInfo.Conditions collection, which contains the PivotGridFieldSortCondition objects (the PivotGridFieldSortBySummaryInfo object is accessed via the PivotGridFieldBase.SortBySummaryInfo property).
A sort condition represents a field value. The PivotGridFieldSortBySummaryInfo.Conditions collection contains one sort condition for each field in the current Header Area. Together, these conditions identify the required column/row. For instance, the highlighted column on the image below is identified by three sort conditions.
The field value which the sort condition represents is specified by the PivotGridFieldSortCondition.Value property. The field to which the value belongs is specified by the PivotGridFieldSortCondition.Field property.
If the pivot grid is bound to an OLAP data source, the field value is identified by the corresponding OLAP member’s unique name (PivotGridFieldSortCondition.OLAPUniqueMemberName). In this instance, the PivotGridFieldSortCondition.Value property is set to null.
Object PivotGridFieldSortCondition
See Also