Class
ExcelDataValidationInfo
OfficeIMO.Excel
Read-only snapshot of a data validation rule.
Inheritance
- object
- ExcelDataValidationInfo
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
Constructors
public ExcelDataValidationInfo() #Inherited Methods
Properties
public string Range { get; set; } #Gets or sets the A1 range covered by the validation.
public string? Operator { get; set; } #Gets or sets the OpenXML validation operator.
public bool AllowBlank { get; set; } #Gets or sets whether blank values are allowed.
public bool SuppressDropDown { get; set; } #Gets or sets whether Excel should hide the in-cell dropdown for list validations.
public string? ErrorStyle { get; set; } #Gets or sets the OpenXML validation error style.
public bool ShowInputMessage { get; set; } #Gets or sets whether Excel should show the input prompt.
public bool ShowErrorMessage { get; set; } #Gets or sets whether Excel should show the validation error.
public string? Formula1 { get; set; } #Gets or sets the first validation formula.
public string? Formula2 { get; set; } #Gets or sets the second validation formula.