PivotGridFieldBase.CanChangeLocationTo(PivotArea, Int32) Method

Returns whether the field can be positioned in the specified area, and at the specified location.

Namespace: DevExpress.XtraPivotGrid

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


public virtual bool CanChangeLocationTo(
    PivotArea newArea,
    int newAreaIndex
Public Overridable Function CanChangeLocationTo(
    newArea As PivotArea,
    newAreaIndex As Integer
) As Boolean


Name Type Description
newArea PivotArea

A PivotArea object representing the pivot grid area.

newAreaIndex Int32

An integer value representing the index of the field in its area.


Type Description

true if the field can be positioned in the specified area and at the specified location; otherwise, false.


To specify in which areas the field can be positioned, use the PivotGridFieldBase.AllowedAreas property. Use the PivotGridFieldBase.IsAreaAllowed method, to obtain whether the field can be positioned in a particular area.

See Also