[]
Represents a special TextLengthValidator that validates the length of the specified value using the LengthUnit setting.
[ToolboxBitmap(typeof(FpSpread), "TextLengthValidator.png")]
[TypeConverter(typeof(TextLengthValidator._a))]
public class TextLengthValidator : BaseDataValidator, ICloneable, ISerializable, IDeserializationCallback, ISerializeSupport, INamedObject
<ToolboxBitmap(GetType(FpSpread), "TextLengthValidator.png")>
<TypeConverter(GetType(TextLengthValidator._a))>
Public Class TextLengthValidator
Inherits BaseDataValidator
Implements ICloneable, ISerializable, IDeserializationCallback, ISerializeSupport, INamedObject
Name | Description |
---|---|
TextLengthValidator() | Represents the default empty constructor. |
TextLengthValidator(SerializationInfo, StreamingContext) | Initializes a new instance of this class. |
Name | Description |
---|---|
Encoding | Gets or sets the encoding. |
EncodingCodePage | Gets or sets the encoding code page. |
LengthUnit | Gets or sets the LengthUnit used to validate the text length. |
MaximumLength | Gets or sets the maximum length of the text. |
MinimumLength | Gets or sets the minimum length of the text. |
NullIsValid | Gets or sets whether the validation always succeeds when the specified value is null. |
Name | Description |
---|---|
Clone(ConditionalObject, FormulaEngine, FormulaEngine) | Creates an exact copy of the current BaseDataValidator. |
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 specified value satisfy the given condition by the |