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
SystemObject
  Kentico.Forms.Web.MvcVisibilityCondition
    Kentico.Forms.Web.MvcAnotherFieldVisibilityConditionTValue
      Kentico.Forms.Web.MvcAnotherBoolFieldVisibilityCondition
      Kentico.Forms.Web.MvcAnotherIntFieldVisibilityCondition
      Kentico.Forms.Web.MvcAnotherStringFieldVisibilityCondition

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
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