SListView::ScrollBy

Scroll the list view by some number of screen units.

Windows
MacOS
Linux

Override Hierarchy

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Views/SListView.h

Include

#include "Widgets/Views/SListView.h"

Syntax

virtual float ScrollBy
(
    const FGeometry & MyGeometry,
    float ScrollByAmount,
    EAllowOverscroll InAllowOverscroll
)

Remarks

Scroll the list view by some number of screen units.

Returns

The amount actually scrolled in items

Parameters

Parameter

Description

MyGeometry

The geometry of the ListView at the time

ScrollByAmount

The amount to scroll by in Slate Screen Units.

AllowOverscroll

Should we allow scrolling past the beginning/end of the list?

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