Table of Contents

Class VisibilityConditionPropertyAttribute

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

The attribute defines the visibility condition's property and its value.

[AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
[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 class VisibilityConditionPropertyAttribute : Attribute
Inheritance
object
Attribute
VisibilityConditionPropertyAttribute
Extension Methods

Constructors

VisibilityConditionPropertyAttribute(string, object, string)

Initializes a new instance of the VisibilityConditionPropertyAttribute class.

public VisibilityConditionPropertyAttribute(string propertyName, object propertyValue, string conditionName = null)

Parameters

propertyName string

Name of the property within the corresponding VisibilityCondition properties.

propertyValue object

Defines the value of the property.

conditionName string

Visibility condition name.