The DataValidation type exposes the following members.
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| DataValidation |
Initializes a new instance of the DataValidation class.
| |
| DataValidation( CellRange ) |
Initializes a new instance of the DataValidation class with specified cell ranges on which this data validation will be applied.
| |
| DataValidation(IEnumerable CellRange ) |
Initializes a new instance of the DataValidation class with specified cell ranges on which this data validation will be applied.
| |
| DataValidation(ExcelWorksheet, IEnumerable String ) |
Initializes a new instance of the DataValidation class with specified worksheet and cell references on which this data validation will be applied.
| |
| DataValidation(ExcelWorksheet, String ) |
Initializes a new instance of the DataValidation class with specified worksheet and cell references on which this data validation will be applied.
|
Properties
| Name | Description | |
|---|---|---|
| CellRanges |
Gets the ranges over which data validation is applied.
| |
| ErrorMessage |
Gets or sets the message text of error alert.
| |
| ErrorStyle |
Gets or sets the style of error alert used for this data validation.
| |
| ErrorTitle |
Gets or sets the title bar text of error alert.
| |
| Formula1 |
Gets or sets the first formula in the DataValidation dropdown.
| |
| Formula2 |
Gets or sets the second formula in the DataValidation dropdown.
| |
| IgnoreBlank |
Gets or sets a value indicating whether the data validation treats empty or blank entries as
valid. means empty entries are OK and do not violate the validation constraints.
| |
| InCellDropdown |
Gets or sets a value indicating whether to display the dropdown combo box for a List data validation type.
| |
| InputMessage |
Gets or sets the message text of input prompt.
| |
| InputMessageTitle |
Gets or sets the title bar text of input prompt.
| |
| Operator |
Gets or sets the relational operator used with this data validation.
| |
| ShowErrorAlert |
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.
| |
| ShowInputMessage |
Gets or sets a value indicating whether to display the input prompt message.
| |
| Type |
Gets or sets the type of data validation.
|
See Also