Table of Contents

Interface IVisibilityConditionDefinitionProvider

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

Provider for retrieval of registered form component visibility condition definitions for Form builder.

[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 interface IVisibilityConditionDefinitionProvider : IFormBuilderDefinitionProvider<VisibilityConditionDefinition>
Inherited Members
Extension Methods

Methods

GetAnotherFieldVisibilityConditionDefinitions(Type)

Returns VisibilityConditionDefinitions that define VisibilityConditions that inherits from AnotherFieldVisibilityCondition<TValue> and targets given targetType.

IEnumerable<VisibilityConditionDefinition> GetAnotherFieldVisibilityConditionDefinitions(Type targetType)

Parameters

targetType Type

Value type for which to return VisibilityConditionDefinitions that define VisibilityConditions that inherits from AnotherFieldVisibilityCondition<TValue>.

Returns

IEnumerable<VisibilityConditionDefinition>

GetCustomVisibilityConditionDefinitions()

Returns all VisibilityConditionDefinitions that evaluates custom conditions not depending on the another field.

IEnumerable<VisibilityConditionDefinition> GetCustomVisibilityConditionDefinitions()

Returns

IEnumerable<VisibilityConditionDefinition>