Back to Devexpress

PivotCustomDrawFieldValueEventArgs.MaxIndex Property

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotcustomdrawfieldvalueeventargs-7043170b.md

latest2.9 KB
Original Source

PivotCustomDrawFieldValueEventArgs.MaxIndex Property

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

Declaration

csharp
public int MaxIndex { get; }
vb
Public ReadOnly Property MaxIndex As Integer

Property Value

TypeDescription
Int32

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

|

Remarks

  • 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 PivotCustomDrawFieldValueThreadSafeEventArgs.MaxIndex property exposed by a thread-safe event parameter instead. To access the thread-safe event parameter, use the PivotCustomDrawFieldValueEventArgs.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

MinIndex

GetCellValue(Int32, Int32)

PivotCustomDrawFieldValueEventArgs Class

PivotCustomDrawFieldValueEventArgs Members

DevExpress.XtraPivotGrid Namespace