NullConditionAttribute
A class in Alta.Attributes, the global namespace.
Inspector attribute that shows, hides or locks a field depending on whether another object field is null.
- Listed in Other Alta assemblies
- Inherits or implements
PropertyAttribute
Constructors
| Member | What it is |
|---|---|
NullConditionAttribute(string objectValue, ReadOnlyMode notNullMode = 2, ReadOnlyMode nullMode = 0) | Creates a NullConditionAttribute from objectValue, notNullMode and nullMode. |
Properties
| Member | What it is |
|---|---|
ReadOnlyMode NotNullMode { get; private set; } | How the field shows when the other field is set (editable by default). |
ReadOnlyMode NullMode { get; private set; } | How the field shows when the other field is null (hidden by default). |
string ObjectValue { get; private set; } | Name of the object field to check. |