Click or drag to resize
VisibilityConditionActivatorCreateVisibilityCondition Method (VisibilityConditionDefinition)
Creates a new instance of the VisibilityCondition specified by its definition with default property values.

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
public VisibilityCondition CreateVisibilityCondition(
	VisibilityConditionDefinition definition
)

Parameters

definition
Type: Kentico.Forms.Web.MvcVisibilityConditionDefinition
Defines VisibilityCondition which is to be created.

Return Value

Type: VisibilityCondition
Returns an instance of VisibilityCondition as described by its definition.

Implements

IVisibilityConditionActivatorCreateVisibilityCondition(VisibilityConditionDefinition)
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when definition is null.
See Also