PivotFieldImageIndexEventArgs.GetHigherLevelFields() Method
Returns the parent field(s) for the field value being currently processed.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.XtraPivotGrid.v24.2.dll
NuGet Package: DevExpress.Win.PivotGrid
#Declaration
public PivotGridField[] GetHigherLevelFields()
#Returns
Type | Description |
---|---|
Pivot |
An array of Pivot |
#Remarks
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:
- For the ‘1994’ and ‘Andrew Fuller’ field values, the GetHigherLevelFields method returns an empty array.
- For the ‘Qtr4’ field value, the GetHigherLevelFields method returns an array consisting of a single element referring to the Year field. The GetHigherLevelFieldValue method returns the value ‘1994’ for this field.
- For the ‘Confections’ field value in the last row, the GetHigherLevelFields method returns an array consisting of a single element referring to the Sales Person field. The GetHigherLevelFieldValue method returns the value ‘Anne Dodsworth’ for this field.
Note
If you call the Get