New to Telerik Document ProcessingStart a free 30-day trial

Abstract base for data validation rules that evaluate cell values using a single argument expression, with support for blank cell handling.

Definition

Constructors

Initializes a new SingleArgumentDataValidationRuleBase from the specified single-argument validation context.

C#
protected SingleArgumentDataValidationRuleBase(SingleArgumentDataValidationRuleContext context)
Parameters:contextSingleArgumentDataValidationRuleContext

The context.

Methods

Determines whether the specified object is equal to the current object.

C#
public override bool Equals(object obj)
Parameters:objobject

The object to compare with the current object.

Returns:

bool

true if the specified object is equal to the current object; otherwise, false.

Overrides: DataValidationRuleBase.Equals(object)

Computes a hash code for this validation rule based on its configuration properties.

C#
public override int GetHashCode()
Returns:

int

A hash code for the current object.

Overrides: DataValidationRuleBase.GetHashCode()

Properties

Primary validation criterion expression or value used to evaluate cell validity.

C#
public ICellValue Argument1 { get; }
Property Value:

The first argument.

Cell location where the validation rule is defined, used as the base reference for relative formula expressions.

C#
public CellIndex CellIndex { get; }
Property Value:

The index of the cell.

Controls whether empty cells bypass validation and are considered valid regardless of the rule.

C#
public bool IgnoreBlank { get; }
Property Value:

The value indicating if blank cells should be ignored.