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.

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>