Represents a sort condition used to identify the column/row by whose values the other field values will be sorted.
public class PivotGridFieldSortCondition : IFieldCondition
Public Class PivotGridFieldSortCondition Implements IFieldCondition
Related API Members
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.