Tag

PivotGridField.ExpandedInFieldsGroup Property

Gets or sets the expansion status of the current field if it belongs to a field group. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

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

Declaration

public bool ExpandedInFieldsGroup { get; set; }
Public Property ExpandedInFieldsGroup As Boolean

Property Value

Type Description
Boolean

true if the field is expanded in a field group; otherwise, false.

Remarks

Fields can be combined into field groups via the PivotGridControl.Groups property. Grouped fields are treated as a whole and are always displayed within the same area. An end-user cannot separate these fields by dragging one of them to a different area or hiding it to the field list.

Grouped fields can be collapsed and expanded by clicking the expand buttons. Collapsing/expanding a grouped field header collapses/expands columns or rows that correspond to grouped child fields.

pivotgrid_collapsegroups

The ExpandedInFieldsGroup property lets you get or modify the expansion status of grouped fields via code.

See Also