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.v18.2.Core.dll
Declaration
[Browsable(false)]
public virtual bool CanChangeLocationTo(
PivotArea newArea,
int newAreaIndex
)
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