/Engine/Source/Editor/PropertyEditor/Public/DetailCategoryBuilder.h
Adds a delegate to the category which is called when the category expansion state changes
[IDetailCategoryBuilder](API\Editor\PropertyEditor\IDetailCategoryBuilder) & OnExpansionChanged ( FOnBooleanValueChanged InOnExpansionChanged )