Click or drag to resize
AnotherFieldVisibilityConditionTValue Class
Inherit this class to implement visibility condition which needs value of another field in order to function.
Inheritance Hierarchy

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
[SerializableAttribute]
public abstract class AnotherFieldVisibilityCondition<TValue> : VisibilityCondition

Type Parameters

TValue
Type of the other field value. For value types, use their NullableT equivalent.

The AnotherFieldVisibilityConditionTValue type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyDependeeFieldGuid
GUID of the field the condition depends on.
Public propertyDependeeFieldValue
Gets strongly typed value of the field the condition depends on.
Top
Methods
  NameDescription
Public methodIsVisible
Gets a value indicating whether a form component is visible.
(Inherited from VisibilityCondition.)
Public methodModifyMetadata
Modifies modelMetadata according to the current object.
(Inherited from VisibilityCondition.)
Top
See Also