Class ListDataValidationRule
Represents list data validation rule.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.DataValidation
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public sealed class ListDataValidationRule : SingleArgumentDataValidationRuleBase, IDataValidationRule
Constructors
ListDataValidationRule(ListDataValidationRuleContext)
Initializes a new instance of the List
Declaration
public ListDataValidationRule(ListDataValidationRuleContext context)
Parameters
List The context. |
Properties
InCellDropdown
Gets or sets a value indicating if an cell dropdown should be shown.
Declaration
public bool InCellDropdown { get; set; }
Property Value
System. The a value indicating if an cell dropdown should be shown. |
Methods
Equals(Object)
Determines whether the specified System.
Declaration
public override bool Equals(object obj)
Parameters
System. The System. |
Returns
System. true if the specified System. |
Overrides
EvaluateOverride(Worksheet, Int32, Int32, ICellValue)
Evaluates the data validation rule.
Declaration
protected override bool EvaluateOverride(Worksheet worksheet, int rowIndex, int columnIndex, ICellValue cellValue)
Parameters
Worksheet
worksheet
The worksheet. |
System. Index of the row. |
System. Index of the column. |
ICell The cell value. |
Returns
System. Retrurns True if the rule is satisfied, else returns False. |
Overrides
ExtractListItems(Worksheet, Int32, Int32)
Extracts the list items.
Declaration
public IEnumerable<string> ExtractListItems(Worksheet worksheet, int rowIndex, int columnIndex)
Parameters
Worksheet
worksheet
The worksheet. |
System. Index of the row. |
System. Index of the column. |
Returns
System.
|
ExtractListItems(Worksheet, CellIndex)
Extracts the list items.
Declaration
public IEnumerable<string> ExtractListItems(Worksheet worksheet, CellIndex cellIndex)
Parameters
Returns
System.
|
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System. A hash code for the current System. |