windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotfieldimageindexeventargs-1f367446.md
Gets the maximum row index (for row fields) or column index (for column fields) that corresponds to the field value currently being processed.
Namespace : DevExpress.XtraPivotGrid
Assembly : DevExpress.XtraPivotGrid.v25.2.dll
NuGet Package : DevExpress.Win.PivotGrid
public int MaxIndex { get; }
Public ReadOnly Property MaxIndex As Integer
| Type | Description |
|---|---|
| Int32 |
An integer value that specifies the maximum row or column index that corresponds to the processed field value.
|
Row Fields
Column Fields
Note
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.
See Also
PivotFieldImageIndexEventArgs Class