CustomColumnSortEventArgs.ListSourceRowIndex1 Property

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

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.1.dll


public int ListSourceRowIndex1 { get; }
Public ReadOnly Property ListSourceRowIndex1 As Integer

Property Value

Type Description

An integer value that specifies the first 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