Click or drag to resize

RequiredIfAttributeIsInverted 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).

Namespace:  Compiled.EDD.Scripting
Assembly:  Compiled.EDD.Scripting (in Compiled.EDD.Scripting.dll) Version: 7.6.1.3-5cb5c356
Syntax
C#
public bool IsInverted { get; set; }

Property Value

Type: Boolean
true 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