ScrollBar.Scroll Event

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Occurs one or more times as content scrolls in a ScrollBar when the user moves the Thumb.

Namespace:  System.Windows.Controls.Primitives
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

Public Event Scroll As ScrollEventHandler
public event ScrollEventHandler Scroll
<ScrollBar Scroll="eventhandler"/>

Remarks

This event typically occurs multiple times when the user changes the RangeBase..::.Value of the ScrollBar by moving the Thumb. There event is raised repeatedly as the Thumb position is dragged.

This event is not raised when the RangeBase..::.Value of the ScrollBar control is changed in code.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

ScrollBar Class

System.Windows.Controls.Primitives Namespace

ScrollEventArgs