Skip to main content

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.v23.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public int ListSourceRowIndex1 { get; }

Property Value

Type Description
Int32

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

Remarks

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