# How do I use ANY of the default SPropertyEditor widgets

**URL:** <https://forums.unrealengine.com/t/how-do-i-use-any-of-the-default-spropertyeditor-widgets/465857>\
**Category:** UI\
**Tags:** property-customizati, unreal-engine, slate, question\
**Created:** [May 26, 2020, 10:29pm UTC](https://forums.unrealengine.com/t/how-do-i-use-any-of-the-default-spropertyeditor-widgets/465857 "2020-05-26T22:29:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xeru98](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xeru98](https://forums.unrealengine.com/u/Xeru98)\
**Post date:** [May 26, 2020, 10:29pm UTC](https://forums.unrealengine.com/t/how-do-i-use-any-of-the-default-spropertyeditor-widgets/465857/1 "2020-05-26T22:29:57Z")

</div>

As far as i can tell you can’t which is a shame because they have a ton of customizeability. I’ve been trying to use `SNew(SPropertyEditorAsset, AssetProperty)` so that i can tweak all of the customizations it has but whenever I try to include it I get `Can't open include file "Presentation/PropertyEditor/PropertyEditor.h"`

I have Slate, Slate Core, Property Editor, and Input Core all included in the build.cs so and it seems like the missing file is in property editor. So I’m wondering if anyone has actually been able to get it to work with SNew().

---

<div class="post-metadata">

**Author:** ![Ali\_Akbar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ali_akbar/32/1008648_2.png) [@Ali\_Akbar](https://forums.unrealengine.com/u/Ali_Akbar)\
**Post date:** [May 29, 2020, 7:08am UTC](https://forums.unrealengine.com/t/how-do-i-use-any-of-the-default-spropertyeditor-widgets/465857/2 "2020-05-29T07:08:10Z")

</div>

I see the SPropertyEditorAsset declared in this file:

```
\Engine\Source\Editor\PropertyEditor\Private\UserInterface\PropertyEditor\SPropertyEditorAsset.h

```

So you’d include:

```
#include "UserInterface/PropertyEditor/SPropertyEditorAsset.h"

```

You should also have PropertyEditor module added in the build.cs

---

<div class="post-metadata">

**Author:** ![Xeru98](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xeru98](https://forums.unrealengine.com/u/Xeru98)\
**Post date:** [May 29, 2020, 7:18am UTC](https://forums.unrealengine.com/t/how-do-i-use-any-of-the-default-spropertyeditor-widgets/465857/3 "2020-05-29T07:18:04Z")

</div>

I have tried including that header and if I do then SPropertyEditorAsset.h throws an error that it can’t include Presentation/PropertyEditor/PropertyEditor.h

Also like i said in the question i already included PropertyEditor in the build cs

Edit: I tried to include “UserInterface/PropertyEditor/SPropertyEditorAsset.h” and it claims no such file exists. If I go with the VAX default `#include "../Private/UserInterface/PropertyEditor/SPropertyEditorAsset.h"` then i get `U:\Program Files\Epic Games\UE_4.24\Engine\Source\Editor\PropertyEditor\Public\../Private/UserInterface/PropertyEditor/SPropertyEditorAsset.h(19): fatal error C1083: Cannot open include file: 'Presentation/PropertyEditor/PropertyEditor.h': No such file or directory`

---

<div class="post-metadata">

**Author:** ![Ali\_Akbar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ali_akbar/32/1008648_2.png) [@Ali\_Akbar](https://forums.unrealengine.com/u/Ali_Akbar)\
**Post date:** [May 29, 2020, 7:31am UTC](https://forums.unrealengine.com/t/how-do-i-use-any-of-the-default-spropertyeditor-widgets/465857/4 "2020-05-29T07:31:49Z")

</div>

Had a closer look. you won’t be able to use this class as it is not exposed. The files are in Private folder and they class is not exported (it doesn’t have PROPERTYEDITOR\_API after the class name)

---

<div class="post-metadata">

**Author:** ![Xeru98](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xeru98](https://forums.unrealengine.com/u/Xeru98)\
**Post date:** [May 29, 2020, 4:02pm UTC](https://forums.unrealengine.com/t/how-do-i-use-any-of-the-default-spropertyeditor-widgets/465857/5 "2020-05-29T16:02:59Z")

</div>

ok good to know thank you. shame they aren’t exposed at all
