DataValidation
A single item of data validation defined on ranges of the worksheet.
Gets the ranges over which data validation is applied.
Gets or sets the message text of error alert.
Gets or sets the style of error alert used for this data validation.
Gets or sets the title bar text of error alert.
Gets or sets the first formula in the DataValidation dropdown.
Gets or sets the second formula in the DataValidation dropdown.
Gets or sets a value indicating whether the data validation treats empty or blank entries as
valid. true means empty entries are OK and do not violate the validation constraints.
Gets or sets a value indicating whether to display the dropdown combo box for a List data validation type.
Gets or sets the message text of input prompt.
Gets or sets the title bar text of input prompt.
Gets or sets the relational operator used with this data validation.
Gets or sets a value indicating whether to display the error alert message when an invalid
value has been entered, according to the criteria specified.
Gets or sets a value indicating whether to display the input prompt message.
Gets or sets the type of data validation.
public DataValidation()
Initializes a new instance of the DataValidation class.
Initializes a new instance of the DataValidation class with specified worksheet and cell references on which this data validation will be applied.
Initializes a new instance of the DataValidation class with specified worksheet and cell references on which this data validation will be applied.
Initializes a new instance of the DataValidation class with specified cell ranges on which this data validation will be applied.
Initializes a new instance of the DataValidation class with specified cell ranges on which this data validation will be applied.