NamedSlotProperty

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

Windows
MacOS
Linux

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

Name Description

Public variable

DeclarationType...

 

OwnerDeclaration

Public variable

TAlwaysValidWid...

 

SlotContent

Constructors

Name Description

Public function

NamedSlotProperty

(
    DeclarationType& InOwnerDeclaratio...,
    TAlwaysValidWidget& ContentToSet
)

Operators

Name Description

Public function

DeclarationT...

 

operator[]

(
    const TSharedRef< SWidget >& InChi...
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss