Enum ComparisonTypeEnum
Contains the predefined comparison types which are supposed to be utilized for specifying visibility condition of a form component via the VisibilityConditionAttribute.
[Obsolete("This API is only available for legacy Form Builder components that provide backward compatibility when transitioning from older versions. The API will be removed when support for the Form Builder compatibility mode is dropped.")]
public enum ComparisonTypeEnum
- Extension Methods
Fields
IsEmpty = 1Examines the related property value whether it is empty or
null. Only works with properties of types either of string or System.Collections.Generic.IEnumerable<T>.IsEqualTo = 4Examines the related property value whether it is equal to a value of the decorated property. The System.Collections.Generic.EqualityComparer<T>.Default is used to compare values.
IsFalse = 7Examines the related property value whether it is
false. Only works with a property of bool type.IsNotEmpty = 3Examines the related property value whether it is not empty or
null. Only works with properties of types either of string or System.Collections.Generic.IEnumerable<T>.IsNotEqualTo = 5Examines the related property value whether it is not equal to a value of the decorated property. The System.Collections.Generic.EqualityComparer<T>.Default is used to compare values.
IsNotNull = 2Examines the related property value whether it is not
null. Only works with a property of a reference type.IsNull = 0Examines the related property value whether it is
null. Only works with a property of a reference type.IsTrue = 6Examines the related property value whether it is
true. Only works with a property of bool type.