Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Widgets
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Widgets/DeclarativeSyntaxSupport.h |
| Include | #include "Widgets/DeclarativeSyntaxSupport.h" |
Syntax
template<class DeclarationType>
struct NamedSlotProperty
Remarks
We want to be able to do: SNew( ContainerWidget ) .SomeContentArea() [ // Child widgets go here ]
NamedSlotProperty is a helper that will be returned by SomeContentArea().
Variables
| Type | Name | Description | |
|---|---|---|---|
| DeclarationType & | OwnerDeclaration | ||
| TAlwaysValidWidget & | SlotContent |
Constructors
| Type | Name | Description | |
|---|---|---|---|
NamedSlotProperty
(
DeclarationType& InOwnerDeclaration, |
Operators
| Type | Name | Description | |
|---|---|---|---|
| DeclarationType & | operator[]
(
const TSharedRef< SWidget >& InChild |