Navigation
API > API/Editor > API/Editor/PropertyEditor > API/Editor/PropertyEditor/PropertyCustomizationHelpers__Ma-
References
| Module | PropertyEditor |
| Header | /Engine/Source/Editor/PropertyEditor/Public/PropertyCustomizationHelpers.h |
| Include | #include "PropertyCustomizationHelpers.h" |
| Source | /Engine/Source/Editor/PropertyEditor/Private/PropertyCustomizationHelpers.cpp |
namespace PropertyCustomizationHelpers
{
TSharedRef< SWidget > PropertyCustomizationHelpers&58;&58;MakePropertyComboBox
&40;
const TSharedPtr< IPropertyHandle > & InPropertyHandle,
FOnGetPropertyComboBoxStrings OnGetStrings,
FOnGetPropertyComboBoxValue OnGetValue,
FOnPropertyComboBoxValueSelected OnValueSelected
&41;
}
Remarks
Build a combo button that you bind to a Name/String/Enum property or display using general delegates
Parameters
| Name | Description |
|---|---|
| InPropertyHandle | If set, will bind to a specific property. If this is null, all 3 delegates must be set |
| OnGetStrings | Delegate that will generate the list of possible strings. If not set will generate using property handle |
| OnGetValue | Delegate that is called to get the current string value to display. If not set will generate using property handle |
| OnValueSelected | Delegate called when a string is selected. If not set will set the property handle |