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