Skip to main content

PivotGridGroup.CanChangeArea(PivotGridField) Method

Determines whether changing the location of the specified field will change the location of the entire group.

Namespace: DevExpress.Xpf.PivotGrid

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

NuGet Package: DevExpress.Wpf.PivotGrid

Declaration

public bool CanChangeArea(
    PivotGridField field
)

Parameters

Name Type Description
field PivotGridField

A PivotGridField object which represents the inspected field.

Returns

Type Description
Boolean

true if changing the location of the specified field will change the location of the entire group; otherwise, false.

Remarks

When several fields are combined into one group, their location is determined by the location of the first field within the group. Setting the PivotGridField.Area property of other fields will have no effect in this case. Use the CanChangeArea method to check whether changing the location of the specified field via code will change the location of the entire group.

If the specified field belongs to another group, the CanChangeArea method does nothing.

See Also