An integer value that specifies the maximum row or column index that corresponds to the processed field value.
If a row field value is being processed, use PivotFieldImageIndexEventArgs.MinIndex and 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 PivotFieldImageIndexEventArgs.MinIndex and MaxIndex properties.
If a column field value is being processed, use the PivotFieldImageIndexEventArgs.MinIndex and 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.
If you try to access the MaxIndex property while an asynchronous operation is being performed, an exception will be thrown. When the operation is in progress, use the PivotFieldImageIndexThreadSafeEventArgs.MaxIndex property exposed by a thread-safe event parameter instead. To access the thread-safe event parameter, use the PivotFieldImageIndexEventArgs.ThreadSafeArgs property. To determine whether an asynchronous operation is being performed, use the pivot grid’s IThreadSafeAccessible.IsAsyncInProgress property. For more information, see Asynchronous Mode.