Back to Devexpress

PivotGridFieldBase.ExpandAll() Method

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridfieldbase-b5c68c90.md

latest2.1 KB
Original Source

PivotGridFieldBase.ExpandAll() Method

Expands all columns/rows that correspond to the current column field or row field.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.PivotGrid.v25.2.Core.dll

NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

csharp
public void ExpandAll()
vb
Public Sub ExpandAll

Remarks

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 PivotGridFieldBase.ExpandValue method. To collapse field values, use the PivotGridFieldBase.CollapseValue and PivotGridFieldBase.CollapseAll methods.

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

See Also

PivotGridFieldBase Class

PivotGridFieldBase Members

DevExpress.XtraPivotGrid Namespace