Back to Devexpress

PivotGridField.ExpandedInFieldsGroup Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridfield-d98edac0.md

latest2.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

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

Property Value

TypeDescription
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.

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

See Also

PivotGridField.CollapseAll

CollapseValue(Object)

PivotGridField.ExpandAll

ExpandValue(Object)

PivotGridControl.CollapseAll

CollapseAllColumns()

CollapseAllRows()

PivotGridControl.ExpandAll

ExpandAllColumns()

ExpandAllRows()

Groups

VisibleCount

PivotGridField Class

PivotGridField Members

DevExpress.Xpf.PivotGrid Namespace