Table of Contents

Enum VirtualListAlign

Namespace
Velvet
Assembly
Velvet.Docs.dll

Where ScrollToItem(int, VirtualListAlign) places an item in the viewport: react-window's scrollToRow align.

public enum VirtualListAlign

Fields

Auto = 0

Scroll as little as brings the item into view, and not at all where it already is.

Center = 2

Put the item's middle at the viewport's middle, as far as the list's ends allow.

End = 3

Put the item's end at the viewport's end.

Smart = 1

Auto where the item is already in view, otherwise Center.

Start = 4

Put the item's start at the viewport's start, as far as the list's end allows.