ScrollViewer
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

The ScrollViewer control encapsulates a piece of content, providing up to two ScrollBar controls to scroll a viewport over the content.

The ScrollViewer control allows you to set the size of the viewport relative to the content, as well as, whether the horizontal and vertical ScrollBar controls appear.

The topics in this section describe the additional concepts and techniques that you can use to build ScrollViewer control features into your applications.

To view a running sample of the ScrollViewer control, click the following link.

Run this sample.

In This Section

You can accomplish the following tasks with the example code at the specified location.

Task

Example location

Creating and displaying a simple ScrollViewer.

System.Windows.Controls..::.ScrollViewer

Using styles with the ScrollViewer control.

ScrollViewer Styles and Templates

Reference

ScrollViewer

ScrollBar

ScrollBarVisibility

ScrollContentPresenter

ScrollEventArgs

ScrollEventType

See Also

Other Resources

Page view tracker