[]
        
(Showing Draft Content)

FarPoint.Win.Spread.RequiredFieldValidator

RequiredFieldValidator Class

Represents a special BaseDataValidator class that can validate whether the specified value is not null.

Inheritance
RequiredFieldValidator
Namespace: FarPoint.Win.Spread
Assembly: FarPoint.Win.Spread.dll
Syntax
[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
Remarks

This CellValidator validates whether the value is not null, String.Empty, or DBNull.Value.

Constructors

Name Description
RequiredFieldValidator()

Represents the default empty constructor.

RequiredFieldValidator(SerializationInfo, StreamingContext)

Initializes a new instance of this class.

Methods

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.