PivotGridField.ExpandAll() Method

Expands all values that correspond to the current field.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v20.1.dll


public void ExpandAll()
Public Sub ExpandAll


Use the PivotGridControl.ChangeFieldExpandedAsync method to collapse or expand all values of a particular field, asynchronously. For more information about asynchronous mode, see Asynchronous Mode.

To expand a specific field value, use the PivotGridField.ExpandValue method. To collapse field values, use the PivotGridField.CollapseValue and PivotGridField.CollapseAll methods.

Field values can be collapsed and expanded by end-users, if the field's PivotGridField.AllowExpand property is set to true.

See Also