API reference

ShowWhenAttribute Class

Extends PropertyAttribute
Attribute used to show or hide a field depending on certain conditions.

Fields

Name of the field.
Value to compare against.
Multiple values to compare against.

Member Functions

Attribute used to show or hide the Field depending on certain conditions.
Parameters
conditionFieldName
Name of the bool condition Field
Attribute used to show or hide the Field depending on certain conditions.
Parameters
conditionFieldName
Name of the Field to compare (bool, enum, int or float)
compareValue
Value to compare
Attribute used to show or hide the Field depending on certain conditions.
Parameters
conditionFieldName
Name of the Field to compare (bool, enum, int or float)
compareValueArray
Array of values to compare (only for enums)
Did you find this page helpful?
Thumbs up icon
Thumbs down icon