[]
Represents a special BaseDataValidator that validates whether the specifed value matches the given PairChars.
[ToolboxBitmap(typeof(FpSpread), "PairCharValidator.png")]
[TypeConverter(typeof(PairCharValidator._a))]
public class PairCharValidator : BaseDataValidator, ICloneable, ISerializable, IDeserializationCallback, ISerializeSupport, INamedObject
<ToolboxBitmap(GetType(FpSpread), "PairCharValidator.png")>
<TypeConverter(GetType(PairCharValidator._a))>
Public Class PairCharValidator
Inherits BaseDataValidator
Implements ICloneable, ISerializable, IDeserializationCallback, ISerializeSupport, INamedObject
This CellValidator validates whether the value's string representation matches one or more character pairs. You can add a PairChar to PairChars. For example, the validated value's string representation is "10 * (5 + 2)". One of the PairChars is "( )". Because the validated value has a "(" and another ")" that matches the "(", the result is successful. If the validated value's string representation is "10 * (5 + 2", the result is a failure.
| Name | Description |
|---|---|
| PairCharValidator() | Represents the default empty constructor. |
| PairCharValidator(SerializationInfo, StreamingContext) | Initializes a new instance of this class. |
| Name | Description |
|---|---|
| PairChars | Gets a PairChar list that is matched to the specified value. |
| Name | Description |
|---|---|
| Clone(ConditionalObject, FormulaEngine, FormulaEngine) | Creates an exact copy of the current PairCharValidator. |
| 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 PairChars. |