Skip to main content

CustomColumnSortEventArgs.ListSourceRowIndex2 Property

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

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v22.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core


public int ListSourceRowIndex2 { get; }

Property Value

Type Description

An integer value that specifies the second row’s index in the data source.


The CustomColumnSortEventArgs.ListSourceRowIndex1 and CustomColumnSortEventArgs.ListSourceRowIndex2 properties allow you to identify records in the grid’s data source. To obtain data objects that represent these records, and if required, their field values, use the methods provided by the data source.

The values currently being compared, are returned by the CustomColumnSortEventArgs.Value1 and CustomColumnSortEventArgs.Value2 properties.

See Also