windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotfieldimageindexeventargs-6bd63022.md
Returns the parent field(s) for the field value being currently processed.
Namespace : DevExpress.XtraPivotGrid
Assembly : DevExpress.XtraPivotGrid.v25.2.dll
NuGet Package : DevExpress.Win.PivotGrid
public PivotGridField[] GetHigherLevelFields()
Public Function GetHigherLevelFields As PivotGridField()
| Type | Description |
|---|---|
| PivotGridField[] |
An array of PivotGridField objects that are parent fields for the field value currently being processed.
|
This method returns parent fields corresponding to the current field value. To get values of these fields, use the PivotFieldImageIndexEventArgs.GetHigherLevelFieldValue method.
Consider the following example:
Note
If you call the GetHigherLevelFields method while an asynchronous operation is being performed, an exception will be thrown. When the operation is in progress, use the PivotFieldImageIndexThreadSafeEventArgs.GetHigherLevelFields method 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
GetHigherLevelFieldValue(PivotGridField)
PivotFieldImageIndexEventArgs Class