Table of Contents

Enum XlsxValidationType

Namespace
DocWright.Spreadsheet
Assembly
DocWright.Spreadsheet.dll

What a data validation rule checks (Phase 201). The names are Excel's Allow list.

public enum XlsxValidationType

Fields

Any = 0

Any value: a rule that only shows an input message (no type in the file).

WholeNumber = 1

A whole number (whole).

Decimal = 2

A number (decimal).

List = 3

One of a list (list): given in the rule, or by a range or a name.

Date = 4

A date, as its serial number (date).

Time = 5

A time, as a fraction of a day (time).

TextLength = 6

A text whose length is compared (textLength).

Custom = 7

A formula that must be true (custom).