[]
        
(Showing Draft Content)

FarPoint.Win.Spread.IncludeListValidator.Validate

Validate Method

Validate(ValidateActionContext)

Validates whether the specified value exists in the given Candidates list.

Declaration
protected override bool Validate(ValidateActionContext context)
Protected Overrides Function Validate(context As ValidateActionContext) As Boolean
Parameters
Type Name Description
ValidateActionContext context

A ValidateActionContext value that indicates which value should be validated and contains relative context information.

Returns
Type Description
bool

true if the specifed value exists in the given candidate string list; otherwise,false.

Overrides
Remarks

If the cell value is null, and Candidates has a null value, the validation is successful.