Class ExcelDataValidationList¶
Namespace: OfficeOpenXml.DataValidation
Assembly: EPPlus.dll
This class represents an List data validation.
public class ExcelDataValidationList : ExcelDataValidationWithFormula<IExcelDataValidationFormulaList>, IExcelDataValidationList, IExcelDataValidationWithFormula<IExcelDataValidationFormulaList>, IExcelDataValidation
Inheritance¶
object ← ExcelDataValidation ← ExcelDataValidationWithFormula<IExcelDataValidationFormulaList> ← ExcelDataValidationList
Implements¶
IExcelDataValidation
IExcelDataValidationList
IExcelDataValidationWithFormula<IExcelDataValidationFormulaList>
Inherited Members¶
ExcelDataValidation.Address
ExcelDataValidation.AllowBlank
ExcelDataValidation.AllowsOperator
ExcelDataValidation.As
ExcelDataValidation.Error
ExcelDataValidation.ErrorStyle
ExcelDataValidation.ErrorTitle
ExcelDataValidation.ImeMode
ExcelDataValidation.OnFormulaChanged
ExcelDataValidation.Operator
ExcelDataValidation.Prompt
ExcelDataValidation.PromptTitle
ExcelDataValidation.ShowErrorMessage
ExcelDataValidation.ShowInputMessage
ExcelDataValidation.Uid
ExcelDataValidation.Validate()
ExcelDataValidation.ValidationType
ExcelDataValidationWithFormula<IExcelDataValidationFormulaList>._workSheetName
ExcelDataValidationWithFormula<IExcelDataValidationFormulaList>.Formula
ExcelDataValidationWithFormula<IExcelDataValidationFormulaList>.Validate()
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
AllowsOperator¶
Read-Only property for seeing if this dataValidation type has an operator.
Property Value¶
HideDropDown¶
True if an in-cell dropdown should be hidden.
Property Value¶
bool?
Remarks¶
This property corresponds to the showDropDown attribute of a data validation in Office Open Xml. Strangely enough this attributes hides the in-cell dropdown if it is true and shows the dropdown if it is not present or false. We have checked this in both Ms Excel and Google sheets and it seems like this is how it is implemented in both applications. Hence why we have renamed this property to HideDropDown since that better corresponds to the functionality.
ValidationType¶
Property for determining type of validation
Property Value¶
Methods¶
Validate()¶
Validate the validation