Click or drag to resize
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.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public enum ComparisonTypeEnum
Members
  Member nameValueDescription
IsNull0 Examines the related property value whether it is null. Only works with a property of a reference type.
IsEmpty1 Examines the related property value whether it is empty or null. Only works with properties of types either of String or IEnumerableT.
IsNotNull2 Examines the related property value whether it is not null. Only works with a property of a reference type.
IsNotEmpty3 Examines the related property value whether it is not empty or null. Only works with properties of types either of String or IEnumerableT.
IsEqualTo4 Examines the related property value whether it is equal to a value of the decorated property. The Default is used to compare values.
IsNotEqualTo5 Examines the related property value whether it is not equal to a value of the decorated property. The Default is used to compare values.
IsTrue6 Examines the related property value whether it is true. Only works with a property of Boolean type.
IsFalse7 Examines the related property value whether it is false. Only works with a property of Boolean type.
See Also