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 = 0Scroll as little as brings the item into view, and not at all where it already is.
Center = 2Put the item's middle at the viewport's middle, as far as the list's ends allow.
End = 3Put the item's end at the viewport's end.
Smart = 1Start = 4Put the item's start at the viewport's start, as far as the list's end allows.