Skip to main content

PivotFieldValueEventArgsBase<T>.MinIndex Property

Gets the minimum row index (for row fields) or column index (for column fields) that corresponds to the processed field value.

Namespace: DevExpress.XtraPivotGrid

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

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

Declaration

public int MinIndex { get; }

Property Value

Type Description
Int32

An integer value that specifies the minimum row or column index that corresponds to the processed field value.

Remarks

  • Row Fields

    If a row field value is being processed, use the MinIndex and PivotFieldValueEventArgsBase<T>.MaxIndex properties to identify the range of rows that correspond to the field value. In the image below, five rows correspond to the Category 0 row field value. The minimum row index equals 0, and the maximum row index equals 4. As for the Product 5 field value, only one row corresponds to it. Its index is returned by the MinIndex and PivotFieldValueEventArgsBase<T>.MaxIndex properties.

  • Column Fields

    If a column field value is being processed, use the MinIndex and PivotFieldValueEventArgsBase<T>.MaxIndex properties to identify the range of columns that correspond to the field value. In the image below, four columns correspond to the 2007 column field value. The minimum column index equals 0, and the maximum column index equals 3.

MaxMinIndex

See Also