DataValidationCollection.Remove(DataValidation) Method
In This Article
Removes the specified item from the collection.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
bool Remove(
DataValidation item
)
#Parameters
Name | Type | Description |
---|---|---|
item | Data |
A Data |
#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