ConditionalLabeling
An abstract class in Alta.Attributes, the global namespace.
Base inspector attribute that labels a field one of two ways depending on a condition, with optional default values for each case. Used by BoolValueLabeling and HasComponentLabel.
- Listed in Other Alta assemblies
- Inherits or implements
PropertyAttribute - Derived types
BoolValueLabeling,HasComponentLabel
Constructors
| Member | What it is |
|---|---|
ConditionalLabeling(string hasName, string dontHasName) | Creates a ConditionalLabeling from hasName, dontHasName, hasDefaultValue and dontHasDefaultValue. |
ConditionalLabeling(string hasName, string dontHasName, float hasDefaultValue, float dontHasDefaultValue) | Creates a ConditionalLabeling from hasName, dontHasName, hasDefaultValue and dontHasDefaultValue. |