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.

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

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