Table of Contents

Class AnotherFieldVisibilityCondition<TValue>

Namespace
Kentico.Forms.Web.Mvc
Assembly
Kentico.Content.Web.Mvc.dll

Inherit this class to implement visibility condition which needs value of another field in order to function.

[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 abstract class AnotherFieldVisibilityCondition<TValue> : VisibilityCondition

Type Parameters

TValue

Type of the other field value. For value types, use their System.Nullable<T> equivalent.

Inheritance
object
AnotherFieldVisibilityCondition<TValue>
Derived
Inherited Members
Extension Methods

Constructors

AnotherFieldVisibilityCondition()

protected AnotherFieldVisibilityCondition()

Properties

DependeeFieldGuid

GUID of the field the condition depends on.

[Required]
public virtual Guid DependeeFieldGuid { get; set; }

Property Value

Guid

DependeeFieldValue

Gets strongly typed value of the field the condition depends on.

public virtual TValue DependeeFieldValue { get; }

Property Value

TValue