FPropertyComboBoxArgs

Collects advanced arguments for MakePropertyComboBox

Windows
MacOS
Linux

References

Module

PropertyEditor

Header

/Engine/Source/Editor/PropertyEditor/Public/PropertyCustomizationHelpers.h

Include

#include "PropertyCustomizationHelpers.h"

Syntax

struct FPropertyComboBoxArgs

Remarks

Collects advanced arguments for MakePropertyComboBox

Variables

Name Description

Public variable

FSlateFontInfo

 

Font

Font to use for text display. If not set it will use the default property editor font

Public variable

FOnGetPropertyC...

 

OnGetStrings

Delegate that is called to generate the list of possible strings inside the combo box list.

Public variable

FOnGetPropertyC...

 

OnGetValue

Delegate that is called to get the current string value to display as the combo box label.

Public variable

FOnPropertyComb...

 

OnValueSelected

Delegate called when a string is selected.

Public variable

TSharedPtr< IPr...

 

PropertyHandle

If set, the combo box will bind to a specific property.

Public variable

int32

 

ShowSearchForItemCount

If number of items in combo box is >= this, it will show a search box to allow filtering.

Constructors

Name Description

Public function

FPropertyComboBoxArgs()

Default constructor, the caller will need to fill in values manually

Public function

FPropertyComboBoxArgs

(
    const TSharedPtr< IPropertyHandle >...,
    FOnGetPropertyComboBoxStrings InOnG...,
    FOnGetPropertyComboBoxValue InOnGet...,
    FOnPropertyComboBoxValueSelected In...
)

Constructor using original function arguments

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss