ExcelFile.GetDataValidationInfo Method
Returns the data validation information for an entry of the index. There are 2 ways you can access the data validation information on a sheet:
- If you know the row and column where you want to look, you can use GetDataValidation(Int32, Int32) to return the data validation in the cell.
- If you want to find out all data validation structures in the sheet, you can use DataValidationCount, GetDataValidationInfo and GetDataValidationRanges to loop over all existing data validations.
Syntax
Namespace: FlexCel.Core
public abstract TDataValidationInfo GetDataValidationInfo(Int32 index)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
index | Int32 | Position in the list of data validations. (1 based) |
Returns
Data validation information.