Interface IExcelDataValidation¶
Namespace: OfficeOpenXml.DataValidation.Contracts
Assembly: EPPlus.dll
A generic interface for all data validations. Specialized implementation interfaces should inherit this interface.
Properties¶
Address¶
Address of data validation
Property Value¶
AllowBlank¶
True if input message should be shown
Property Value¶
bool?
AllowsOperator¶
True if the current validation type allows operator.
Property Value¶
As¶
Use this property to cast an instance of IExcelDataValidation to its subtype, see ExcelDataValidationAsType.
Property Value¶
Error¶
Error message box text (see property ShowErrorMessage)
Property Value¶
ErrorStyle¶
Controls how Excel will handle invalid values.
Property Value¶
ExcelDataValidationWarningStyle
ErrorTitle¶
Title of error message box (see property ShowErrorMessage)
Property Value¶
ImeMode¶
Defines mode for Input Method Editor used in east-asian languages
Property Value¶
IsStale¶
Indicates whether this instance is stale, see https://github.com/EPPlusSoftware/EPPlus/wiki/Data-validation-Exceptions
Property Value¶
Prompt¶
Info message text (see property ShowErrorMessage)
Property Value¶
PromptTitle¶
Title of info box if input message should be shown (see property ShowInputMessage)
Property Value¶
ShowErrorMessage¶
True if error message should be shown.
Property Value¶
bool?
ShowInputMessage¶
True if input message should be shown
Property Value¶
bool?
Uid¶
Unique id of the data validation
Property Value¶
ValidationType¶
Validation type
Property Value¶
Methods¶
Validate()¶
Validates the state of the validation.