public DataValidationCriteria ValidationCriteria {get; set;}
Exception | Description |
---|---|
System.ComponentModel.InvalidEnumArgumentException | Occurs when the value is not a member of the DataValidationCriteria enumeration. |
Depending on the value specified, either then cell value or the length of its text equivalent will be compared against the constraint(s). In addition, certain ValidationCriteria values may disallow a cell value even if it is valid when compared to the constraint. For example, the ValidationCriteria.WholeNumber value will not allow any number with a fractional portion.
Target Platforms: Android 4.4+, iOS 8+
Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+