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
-
objectAttributeVisibleIfEmptyAttribute
- Inherited Members
- Extension Methods
Constructors
VisibleIfEmptyAttribute(string)
Initializes a new instance of the VisibleIfEmptyAttribute class.
public VisibleIfEmptyAttribute(string propertyName)
Parameters
propertyName
stringThe property which the visibility condition evaluates.