UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SScrollBox.h File Reference

Go to the source code of this file.

Classes

class  SScrollBox
 
class  SScrollBox::FSlot
 
class  SScrollPanel
 

Enumerations

enum class  EDescendantScrollDestination : uint8 { IntoView , TopOrLeft , Center , BottomOrRight }
 
enum class  EScrollWhenFocusChanges : uint8 { NoScroll , InstantScroll , AnimatedScroll }
 

Functions

 DECLARE_DELEGATE (FOnScrollBoxFocusReceived)
 
 DECLARE_DELEGATE (FOnScrollBoxFocusLost)
 

Enumeration Type Documentation

◆ EDescendantScrollDestination

Where to scroll the descendant to

Enumerator
IntoView 

Scroll the widget into view using the least amount of energy possible. So if the new item is above the visible set, it will stop as soon as it's in view at the top. If it's below the visible set, it stop it comes into view at the bottom.

TopOrLeft 

Always scroll the widget so it appears at the top/Left of the scrollable area.

Center 

Always scroll the widget so it appears at the center of the scrollable area, if possible. This won't be possible for the first few items and the last few items, as there's not enough slack.

BottomOrRight 

Always scroll the widget so it appears at the bottom/Right of the scrollable area.

◆ EScrollWhenFocusChanges

Set behavior when user focus changes inside this scroll box

Enumerator
NoScroll 

Don't automatically scroll, navigation or child widget will handle this

InstantScroll 

Instantly scroll using NavigationDestination rule

AnimatedScroll 

Use animation to scroll using NavigationDestination rule

Function Documentation

◆ DECLARE_DELEGATE() [1/2]

DECLARE_DELEGATE ( FOnScrollBoxFocusLost  )

◆ DECLARE_DELEGATE() [2/2]

DECLARE_DELEGATE ( FOnScrollBoxFocusReceived  )