ScrollIntoViewAlignment ScrollIntoViewAlignment ScrollIntoViewAlignment ScrollIntoViewAlignment Enum


Defines constants that describe how an item that is programmatically scrolled into view aligns with the visible area.

public : enum class ScrollIntoViewAlignment
enum class winrt::Windows::UI::Xaml::Controls::ScrollIntoViewAlignment : int32_t
public enum ScrollIntoViewAlignment
Public Enum ScrollIntoViewAlignment

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Default Default Default Default 0

The item aligns with the nearest edge.

Leading Leading Leading Leading 1

The item aligns with the leading edge.


When scrolled vertically, the leading edge is the top edge.

When scrolled horizontally, the leading edge is the left edge if FlowDirection is LeftToRight, and the right edge if FlowDirection is RightToLeft.

See also