Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public int ListSourceRowIndex2 { get; }

#Property Value

Type Description
Int32

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