Class ExcelDataValidationWithFormula<T>
A validation containing a formula
Inheritance
ExcelDataValidationWithFormula<T>
Implements
Inherited Members
Namespace: OfficeOpenXml.DataValidation
Assembly: EPPlus.dll
Syntax
public abstract class ExcelDataValidationWithFormula<T> : ExcelDataValidation, IExcelDataValidation where T : IExcelDataValidationFormula
Type Parameters
| Name | Description |
|---|---|
| T |
Fields
_workSheetName
Name of worksheet this datavalidation belongs to
Declaration
protected string _workSheetName
Field Value
| Type | Description |
|---|---|
| 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 |
|---|---|
| InvalidOperationException | Will be thrown if invalid configuration of the validation. Details will be in the message of the exception. |