New to Telerik Document ProcessingStart a free 30-day trial

Configuration context for list-based data validation rules that restrict cell values to a predefined list of options.

Definition

Constructors

Initializes a new instance of the ListDataValidationRuleContext class.

C#
public ListDataValidationRuleContext(Worksheet worksheet, CellIndex cellIndex)
Parameters:worksheetWorksheet

The worksheet.

cellIndexCellIndex

Index of the cell.

Initializes a new instance of the ListDataValidationRuleContext class.

C#
public ListDataValidationRuleContext(Worksheet worksheet, int rowIndex, int columnIndex)
Parameters:worksheetWorksheet

The worksheet.

rowIndexint

Index of the row.

columnIndexint

Index of the column.

Properties

Controls whether a dropdown selector is displayed in the cell for choosing from the list of valid values.

C#
public bool InCellDropdown { get; set; }
Property Value:

The a value indicating if an cell dropdown should be shown.