SListView::ScrollBy

Scroll the list view by some number of screen units.

Choose your operating system:

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?