[]
        
(Showing Draft Content)

FarPoint.Win.Spread.RegularExpressionValidator.Validate

Validate Method

Validate(ValidateActionContext)

Validates whether the specifed value matches the given regular expression.

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 is validated, and that contains some relative context information.

Returns
Type Description
bool

true if the specifed value matches the given regular expression; otherwise, false.

Overrides
Remarks

If Expression is null, the result is always successful.

The result matches the Expression exactly and completely.