IDetailLayoutBuilder::AddCustomRowToCategory

Adds a custom row to the property's category automatically.

Windows
MacOS
Linux

References

Module

PropertyEditor

Header

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

Include

#include "DetailLayoutBuilder.h"

Syntax

FDetailWidgetRow & AddCustomRowToCategory
(
    TSharedPtr< IPropertyHandle > InPropertyHandle,
    const FText & InCustomSearchString,
    bool bForAdvanced
)

Remarks

Adds a custom row to the property's category automatically. Useful in detail customizations which want to preserve categories.

Returns

the detail widget that can be further customized.

Parameters

Parameter

Description

InPropertyHandle

The handle to the property that you want to add to its own category.

InCustomSearchString

A string which is used to filter this custom row when a user types into the details panel search box.

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