May 2010
Intermediate to advanced
1272 pages
61h 18m
English
ScrollBarYou can implement scrollbars with the ScrollBar control. The following code provides an example:
![]()
The implementation is simple, because you just have to provide the Minimum, Maximum, and current Value. The Scroll event is instead raised when the selector position changes. The event handler is then implemented as follows:

WPF offers a more versatile control, named ScrollViewer, as described in the next section.
Read now
Unlock full access