Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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