Skip to main content

PivotCustomFieldValueCellsEventArgs.Remove(FieldValueCell) Method

Removes the specified field value cell.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v14.2.dll

#Declaration

public bool Remove(
    FieldValueCell item
)

#Parameters

Name Type Description
item FieldValueCell

A FieldValueCell object that represents the field value cell to remove.

#Returns

Type Description
Boolean

true if the specified cell has been found and removed; false if the specified cell has not been found.

#Remarks

To locate the required field value cell, use the PivotCustomFieldValueCellsEventArgs.GetCell or PivotCustomFieldValueCellsEventArgs.FindCell method.

Note that if a field value cell has only one child cell, and this child cell is removed via the Remove method, the parent cell is then automatically removed.

See Also