Skip to main content

PivotCustomFieldSortEventArgs.ListSourceRowIndex2 Property

Gets the index in the data source of the second of the two rows being compared.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v14.2.dll

#Declaration

public int ListSourceRowIndex2 { get; }

#Property Value

Type Description
Int32

An integer value representing the index of the second row in the data source.

#Remarks

The PivotGridControl.CustomFieldSort event fires in two cases:

  • to compare raw rows in the underlying data source. In this instance, the ListSourceRowIndex1 and ListSourceRowIndex2 parameters are set to valid values.
  • to compare unique filter values in the Filter Dropdown. In this instance, the ListSourceRowIndex1 and ListSourceRowIndex2 parameters are set to -1.
See Also