Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

DataValidationCollection.Clear(CellRange) Method

Removes data validation criteria from the specified cell range.

Namespace: DevExpress.Spreadsheet

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

Declaration

void Clear(
    CellRange range
)

Parameters

Name Type Description
range CellRange

A CellRange object specifying the cell range from which data validation should be removed.

Remarks

If the CellRange object specified by the range parameter is null or doesn’t belong to the worksheet owning the current DataValidationCollection collection that calls this method, an exception will be thrown.

See Also