Skip to main content

PivotCustomDrawFieldValueEventArgs.GetHigherLevelFields() Method

Returns the parent field(s) for the field value being currently processed.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

Declaration

public PivotGridField[] GetHigherLevelFields()

Returns

Type Description
PivotGridField[]

An array of PivotGridField objects that represent parent fields for the field value currently being processed.

Remarks

The GetHigherLevelFields method returns parent fields corresponding to the current field value. To get values of these fields, use the PivotCustomDrawFieldValueEventArgs.GetHigherLevelFieldValue method.

The GetHigherLevelFields method is equivalent to the PivotFieldValueEventArgsBase<T>.GetHigherLevelFields method. See the PivotFieldValueEventArgsBase<T>.GetHigherLevelFields topic for an illustrated 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 PivotCustomDrawFieldValueThreadSafeEventArgs.GetHigherLevelFields method 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