[]
Represents a special BaseDataValidator class that can validate whether the specified value is not null.
[ToolboxBitmap(typeof(FpSpread), "RequiredFieldValidator.png")]
[TypeConverter(typeof(RequiredFieldValidator.RequiredFieldValidatorTypeConverter))]
public class RequiredFieldValidator : BaseDataValidator, ICloneable, ISerializable, IDeserializationCallback, ISerializeSupport, INamedObject
<ToolboxBitmap(GetType(FpSpread), "RequiredFieldValidator.png")>
<TypeConverter(GetType(RequiredFieldValidator.RequiredFieldValidatorTypeConverter))>
Public Class RequiredFieldValidator
Inherits BaseDataValidator
Implements ICloneable, ISerializable, IDeserializationCallback, ISerializeSupport, INamedObject
This CellValidator validates whether the value is not null, String.Empty, or DBNull.Value.
Name | Description |
---|---|
RequiredFieldValidator() | Represents the default empty constructor. |
RequiredFieldValidator(SerializationInfo, StreamingContext) | Initializes a new instance of this class. |
Name | Description |
---|---|
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 is not null. |