Skip to main content

PivotGridCustomFieldSortEventArgsBase<T>.ListSourceRowIndex1 Property

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v24.1.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

public int ListSourceRowIndex1 { get; }

Property Value

Type Description
Int32

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

Remarks

The ListSourceRowIndex1 and PivotGridCustomFieldSortEventArgsBase<T>.ListSourceRowIndex2 properties have valid values if the CustomFieldSort event fires to compare raw rows in the underlying data source, that is, when the SortLocation property has the Pivot value.

If the CustomFieldSort event fires to compare unique filter values in the Filter Dropdown, the ListSourceRowIndex1 and PivotGridCustomFieldSortEventArgsBase<T>.ListSourceRowIndex2 properties are set to -1.

For more information, refer to the platform-specific events:

WinForms ASP.NET ASP.NET MVC WPF
CustomFieldSort CustomFieldSort CustomFieldSort CustomFieldSort
See Also