Skip to main content
Row

DataValidationCollection.Remove(DataValidation) Method

Removes the specified item from the collection.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v23.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

bool Remove(
    DataValidation item
)

Parameters

Name Type Description
item DataValidation

A DataValidation object to remove.

Returns

Type Description
Boolean

True, if the specified item has been found and successfully removed; otherwise, false.

Remarks

To remove the DataValidation object at the specified index, use the DataValidationCollection.RemoveAt method. To remove all data validations from the worksheet, use the DataValidationCollection.Clear method.

See Also