Table of Contents

ExcelFile.GetDataValidation Method

Overloads

ExcelFile.GetDataValidation(Int32, Int32)

Returns the validation information for a specific cell. If the cell has no Data Validation associated, this method returns null.

Syntax

Namespace: FlexCel.Core

public TDataValidationInfo GetDataValidation(Int32 row, Int32 col)

Parameters

<-> Parameter Type Description
row Int32 Row of the cell (1 based)
col Int32 Column of the cell (1 based)

Returns

The data validation for a cell, or null if the cell has no Data Validation associated.

See also

ExcelFile.GetDataValidation(Int32, Int32, TXlsCellRange)

Returns the validation information for a specific cell. If the cell has no Data Validation associated, this method returns null.

Syntax

Namespace: FlexCel.Core

public abstract TDataValidationInfo GetDataValidation(Int32 row, Int32 col, out TXlsCellRange dvRange)

Parameters

<-> Parameter Type Description
row Int32 Row of the cell (1 based)
col Int32 Column of the cell (1 based)
out dvRange TXlsCellRange Range of cells where the data validation is applied.

Returns

The data validation for a cell, or null if the cell has no Data Validation associated.

See also