Version

OneConstraintDataValidationRule Constructor(OneConstraintDataValidationOperator,DataValidationCriteria)

Creates a new OneConstraintDataValidationRule instance.
Syntax

Parameters

validationOperator
The operator to use when comparing the cell value to the constraint value.
validationCriteria
The criteria to use when validating the cell value.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionOccurs when the validationCriteria is not a member of the DataValidationCriteria enumeration.
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