Class ExcelDataValidationWithFormula2<T>
Represents a data validation with two formulas
Inheritance
System.Object
ExcelDataValidationWithFormula2<T>
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml.DataValidation
Assembly: EPPlus.dll
Syntax
public abstract class ExcelDataValidationWithFormula2<T> : ExcelDataValidationWithFormula<T>, IExcelDataValidation where T : IExcelDataValidationFormula
Type Parameters
Name | Description |
---|---|
T | An instance implementing the IExcelDataValidationFormula |
Properties
Formula2
Formula - Either a {T} value or a spreadsheet formula
Declaration
public T Formula2 { get; protected set; }
Property Value
Type | Description |
---|---|
T |
Methods
Validate()
Validate the validation
Declaration
public override void Validate()
Overrides
OfficeOpenXml.DataValidation.ExcelDataValidationWithFormula<T>.Validate()
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException |