Class Validation

Validation class

[Obsolete("This class is obsolete; use  GridValidation instead")]
public class Validation : CellAttachObject

Constructors

NameDescription
Validation()The default constructor.
Validation(GridValidation)

Properties

NameDescription
Cell { get; }Gets the relative cell of the object.(Inherited from CellAttachObject.)
ClientValidationFunction { get; set; }Gets or sets the client validation javascript function name.
ClientValidationOpType { get; set; }Gets or sets the validation op type ,Between/NotBetween/Equal/NotEqual/Greater/GreaterOrEqual/Less/LessOrEqual.
ClientValidationValue1 { get; set; }Gets or sets the operator target value 1
ClientValidationValue2 { get; set; }Gets or sets the operator target value 2
IsRequired { get; set; }Gets or sets whether the cell value is required.
RegEx { get; set; }Gets or sets the regular expression string.
ValueArray { get; set; }
ValueList { get; }Gets the value list object.
ValueText { get; set; }Design time used only.

Methods

NameDescription
LoadValueList(DataView, string, string, bool)Loads value list from a DataView object. You can specify the value field and text field of the DataView. Each value and text pair will be combined to one string, with a comma between them.

Remarks

NOTE: This class is now obsolete. please use GridValidation Instead. This class will be removed after 6 months since Aug. 2014. Aspose apologizes for any inconvenience you may have experienced.

See Also