# How to customize the details panel of a pure blueprint class

**URL:** <https://forums.unrealengine.com/t/how-to-customize-the-details-panel-of-a-pure-blueprint-class/431293>\
**Category:** UI\
**Tags:** property-customizati, unreal-engine, editor, UI, Blueprint, question\
**Created:** [August 9, 2018, 2:59pm UTC](https://forums.unrealengine.com/t/how-to-customize-the-details-panel-of-a-pure-blueprint-class/431293 "2018-08-09T14:59:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_ee828b65](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ee828b65](https://forums.unrealengine.com/u/anonymous_user_ee828b65)\
**Post date:** [August 9, 2018, 2:59pm UTC](https://forums.unrealengine.com/t/how-to-customize-the-details-panel-of-a-pure-blueprint-class/431293/1 "2018-08-09T14:59:06Z")

</div>

Hi,

It seems that to customize the details panel of a C++ UCLASS, you must create a class that derives from IDetailCustomization and register it with the PropertyEditorModule like so:

```
FPropertyEditorModule& PropertyModule = FModuleManager::LoadModuleChecked< FPropertyEditorModule >(TEXT("PropertyEditor"));
PropertyModule.RegisterCustomClassLayout(TEXT("Foo"), FOnGetDetailCustomizationInstance::CreateStatic(&MyClassThatDerivesFromDetailCustomization::MakeInstance));

```

This seems to work only if ‘Foo’ is the name of a C++ class though. If I create a pure blueprint class deriving from AActor, the detail customization never gets used and no errors are shown.

Is there any way of customizing the details panel of a class that doesn’t derive from a custom C++ class?

---

<div class="post-metadata">

**Author:** ![Jack\_Myth](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jack\_Myth](https://forums.unrealengine.com/u/Jack_Myth)\
**Post date:** [August 21, 2018, 6:43am UTC](https://forums.unrealengine.com/t/how-to-customize-the-details-panel-of-a-pure-blueprint-class/431293/2 "2018-08-21T06:43:22Z")

</div>

I suggest you not use a static class name.  
Try use `TargetClass::StaticClass()->GetFName()` or `TargetInstance->GetClass()->GetFName()` to get the Class Name.  
It should also work for blueprint class. You can get UClass for the blueprint class by using `UClass* BlueprintUClass= LoadClass<UClass>("Blueprint '/Game/Blueprint.Blueprint_C'");`. then use `BlueprintUClass->GetFName()` to get class name for the blueprint class. After that, you should be able to register the custom class layout for the blueprint class.
