Table of Contents

Class VisibleIfNotEmptyAttribute

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 not empty string nor empty collection nor null.

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

Constructors

VisibleIfNotEmptyAttribute(string)

Creates an instance of VisibleIfNotEmptyAttribute.

public VisibleIfNotEmptyAttribute(string propertyName)

Parameters

propertyName string

Dependent property name.