Class
ListDataValidationRuleContext

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

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model.DataValidation

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
public class ListDataValidationRuleContext : SingleArgumentDataValidationRuleContext

Inheritance: objectDataValidationRuleContextBaseSingleArgumentDataValidationRuleContextListDataValidationRuleContext

Inherited Members SingleArgumentDataValidationRuleContext.IgnoreBlankSingleArgumentDataValidationRuleContext.Argument1SingleArgumentDataValidationRuleContext.CellIndexSingleArgumentDataValidationRuleContext.WorksheetDataValidationRuleContextBase.ShowInputMessageDataValidationRuleContextBase.InputMessageTitleDataValidationRuleContextBase.InputMessageContentDataValidationRuleContextBase.ShowErrorMessageDataValidationRuleContextBase.ErrorStyleDataValidationRuleContextBase.ErrorAlertTitleDataValidationRuleContextBase.ErrorAlertContent

Constructors

ListDataValidationRuleContext(Worksheet, CellIndex)

Initializes a new instance of the ListDataValidationRuleContext class.

Declaration

cs-api-definition
public ListDataValidationRuleContext(Worksheet worksheet, CellIndex cellIndex)

Parameters

worksheet

Worksheet

The worksheet.

cellIndex

CellIndex

Index of the cell.

ListDataValidationRuleContext(Worksheet, int, int)

Initializes a new instance of the ListDataValidationRuleContext class.

Declaration

cs-api-definition
public ListDataValidationRuleContext(Worksheet worksheet, int rowIndex, int columnIndex)

Parameters

worksheet

Worksheet

The worksheet.

rowIndex

int

Index of the row.

columnIndex

int

Index of the column.

Properties

InCellDropdown

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

Declaration

cs-api-definition
public bool InCellDropdown { get; set; }

Property Value

bool

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