Navigation
API > API/Editor > API/Editor/PropertyEditor > API/Editor/PropertyEditor/IDetailPropertyRow
Description
Sets an edit condition for this property. If the edit condition fails, the property is not editable This will add a checkbox before the name of the property that users can click to toggle the edit condition Properties with built in edit conditions will override this automatically. If the
| Name | EditCondition |
| Type | function |
| Header File | /Engine/Source/Editor/PropertyEditor/Public/IDetailPropertyRow.h |
| Include Path | #include "IDetailPropertyRow.h" |
IDetailPropertyRow & EditCondition
(
TAttribute < bool > EditConditionValue,
FOnBooleanValueChanged OnEditConditionValueChanged,
ECustomEditConditionMode EditConditionMode
)
Parameters
| Name | Remarks |
|---|---|
| EditConditionValue | Attribute for the value of the edit condition (true indicates that the edit condition passes) |
| OnEditConditionValueChanged | Delegate called when the edit condition value changes |
| EditConditionMode | Should this custom edit condition override or merge with the existing edit condition of the property (if any)? |