UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
NamedSlotProperty< DeclarationType > Struct Template Reference

#include <DeclarativeSyntaxSupport.h>

Public Member Functions

 NamedSlotProperty (DeclarationType &InOwnerDeclaration, TAlwaysValidWidget &ContentToSet)
 
DeclarationTypeoperator[] (const TSharedRef< SWidget > &InChild)
 

Public Attributes

DeclarationTypeOwnerDeclaration
 
TAlwaysValidWidgetSlotContent
 

Detailed Description

template<class DeclarationType>
struct NamedSlotProperty< DeclarationType >

We want to be able to do: SNew( ContainerWidget ) .SomeContentArea() [ // Child widgets go here ]

NamedSlotProperty is a helper that will be returned by SomeContentArea().

Constructor & Destructor Documentation

◆ NamedSlotProperty()

template<class DeclarationType >
NamedSlotProperty< DeclarationType >::NamedSlotProperty ( DeclarationType InOwnerDeclaration,
TAlwaysValidWidget ContentToSet 
)
inline

Member Function Documentation

◆ operator[]()

template<class DeclarationType >
DeclarationType & NamedSlotProperty< DeclarationType >::operator[] ( const TSharedRef< SWidget > &  InChild)
inline

Member Data Documentation

◆ OwnerDeclaration

template<class DeclarationType >
DeclarationType& NamedSlotProperty< DeclarationType >::OwnerDeclaration

◆ SlotContent


The documentation for this struct was generated from the following file: