Version

DataValidationCriteria Enumeration

Determines what types of cell values are allowed and how the cell value is validated against the constraint(s).
Syntax
public enum DataValidationCriteria : System.Enum 
Members
MemberDescription
DateDates with or without time portions are allowed as well as numbers equivalent to valid dates. When comparing against constraints, the cell value is used.
DecimalOnly numbers are allowed. When comparing against constraints, the cell value is used.
TextLengthNon-error values are allowed. When comparing against constraints, the length of the cell value's text equivalent is used.
TimeTimes are allowed are well as numbers equivalent to valid times without a date portion. When comparing against constraints, the cell value is used.
WholeNumberOnly numbers are allowed and they cannot have a fractional part. When comparing against constraints, the cell value is used.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also