[]
Represents a special BaseDataValidator that validates whether the specifed value matches the given regular expression.
[ToolboxBitmap(typeof(FpSpread), "RegularExpressionValidator.png")]
[TypeConverter(typeof(RegularExpressionValidator.RegularExpressionValidatorTypeConverter))]
public class RegularExpressionValidator : BaseDataValidator, ICloneable, ISerializable, IDeserializationCallback, ISerializeSupport, INamedObject
<ToolboxBitmap(GetType(FpSpread), "RegularExpressionValidator.png")>
<TypeConverter(GetType(RegularExpressionValidator.RegularExpressionValidatorTypeConverter))>
Public Class RegularExpressionValidator
Inherits BaseDataValidator
Implements ICloneable, ISerializable, IDeserializationCallback, ISerializeSupport, INamedObject
This CellValidator validates whether the validated value's string representation matches a specified regular expression. This is an exact match.
Name | Description |
---|---|
RegularExpressionValidator() | Represents the default empty constructor. |
RegularExpressionValidator(SerializationInfo, StreamingContext) | Initializes a new instance of this class. |
Name | Description |
---|---|
Expression | Gets or sets a regular expression that is matched by the specified value. |
NullIsValid | Gets or sets whether the validation is always successful when the specified value is null. |
RegexOptions | Gets or sets the regular expression options. |
Name | Description |
---|---|
Clone(ConditionalObject, FormulaEngine, FormulaEngine) | Creates an exact copy of the current RegularExpressionValidator. |
Deserialize(XmlNodeReader) | Loads the object from XML. |
GetObjectData(SerializationInfo, StreamingContext) | Gets the object data. |
Serialize(XmlTextWriter) | Saves the object to XML. |
Validate(ValidateActionContext) | Validates whether the specifed value matches the given regular expression. |