Properties | RequiredIfAttribute.IsInverted Property
Gets or sets a value indicating whether other property's value should match or differ from provided other property's value (default is false).
Syntax
C#
Copy
public bool IsInverted { get; set; }
Property Value
Booleantrue if other property's value validation should be inverted; otherwise, false.
Remarks
How this works - true: validated property is required when other property doesn't equal provided value - false: validated property is required when other property matches provided value
See Also
Reference
RequiredIfAttribute Class
Compiled.EDD.Scripting Namespace