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

Declaration

[Browsable(false)]
public virtual bool CanChangeLocationTo(
    PivotArea newArea,
    int newAreaIndex
)
<Browsable(False)>
Public Overridable Function CanChangeLocationTo(
    newArea As PivotArea,
    newAreaIndex As Integer
) As Boolean

Parameters

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.

Returns

Type Description
Boolean

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

Remarks

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