Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DataValidationCollection.Clear(CellRange) Method

Removes data validation criteria from the specified cell range.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

#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