ComparisonTypeEnum Enumeration |
Contains the predefined comparison types which are supposed to be utilized for specifying visibility condition of a form component via the
VisibilityConditionAttribute.
Namespace: Kentico.Forms.Web.MvcAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax public enum ComparisonTypeEnum
Members
| Member name | Value | Description |
---|
| IsNull | 0 |
Examines the related property value whether it is null. Only works with a property of a reference type.
|
| IsEmpty | 1 |
Examines the related property value whether it is empty or null. Only works with properties of types either of String or IEnumerableT.
|
| IsNotNull | 2 |
Examines the related property value whether it is not null. Only works with a property of a reference type.
|
| IsNotEmpty | 3 |
Examines the related property value whether it is not empty or null. Only works with properties of types either of String or IEnumerableT.
|
| IsEqualTo | 4 |
Examines the related property value whether it is equal to a value of the decorated property. The Default is used to compare values.
|
| IsNotEqualTo | 5 |
Examines the related property value whether it is not equal to a value of the decorated property. The Default is used to compare values.
|
| IsTrue | 6 |
Examines the related property value whether it is true. Only works with a property of Boolean type.
|
| IsFalse | 7 |
Examines the related property value whether it is false. Only works with a property of Boolean type.
|
See Also