Skip to main content
A newer version of this page is available. .

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.v20.2.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.WindowsDesktop.PivotGrid.Core

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