Class ExcelDataValidationWithFormula<T>
A validation containing a formula
Inheritance
System.Object
ExcelDataValidationWithFormula<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 ExcelDataValidationWithFormula<T> : ExcelDataValidation, IExcelDataValidation where T : IExcelDataValidationFormula
Type Parameters
Name | Description |
---|---|
T |
Fields
_workSheetName
Declaration
protected string _workSheetName
Field Value
Type | Description |
---|---|
System.String |
Properties
Formula
Formula - Either a {T} value (except for custom validation) or a spreadsheet formula
Declaration
public T Formula { get; protected set; }
Property Value
Type | Description |
---|---|
T |
Methods
Validate()
Validates the configuration of the validation.
Declaration
public override void Validate()
Overrides
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Will be thrown if invalid configuration of the validation. Details will be in the message of the exception. |