Table of Contents

Class VisibleIfEmptyAttribute

Namespace
Kentico.Xperience.Admin.Base.FormAnnotations
Assembly
Kentico.Xperience.Admin.Base.Shared.dll

Indicates that the decorated property appears in editing form only if a value of a property given by PropertyName is empty string, empty collection or null.

public class VisibleIfEmptyAttribute : VisibilityConditionWithDependencyAttribute
Inheritance
object
Attribute
VisibleIfEmptyAttribute
Inherited Members
Extension Methods

Constructors

VisibleIfEmptyAttribute(string)

Initializes a new instance of the VisibleIfEmptyAttribute class.

public VisibleIfEmptyAttribute(string propertyName)

Parameters

propertyName string

The property which the visibility condition evaluates.