Enum ScrollMode
Specifies whether a ScrollViewer scrolls along one axis.
public enum ScrollMode
- Extension Methods
Fields
Disabled = 1The content is laid out within the viewport along the axis, the way a non-scrolling parent would lay it out, and never scrolls along it.
Enabled = 0The content keeps its natural size along the axis and scrolls when it's larger than the viewport.
Remarks
Set per axis with HorizontalScrollMode and VerticalScrollMode. Unlike PanningMode, which only decides which drags pan, this decides how the content is laid out.