This example demonstrates how RadScrollViewer works. The scroll viewer contains a rectangle and a triangle which can be added or removed from the area, which in turn change the size of the content area. The fill primitive of the scroll viewer can also be added or removed, but it does not modify the content size - it is for beauty only.

You can resize the form in order to resize the RadScrollViewer. For finer resizing, use the four buttons to the right of the area. If an element (the square or the triangle) is not visible you can scroll to it (ensure its visibility) using the buttons that are at the bottom.

Experiment with different combinations between visible size and content size to test how RadScrollViewer works. The two RadScrollBars that appear in the scroll view are synhronized with the external scrollbars.

RadScrollViewer supports different modes of showing its scrollbars. You can modify them with the radio button groups on the right side.

In addition there are two Scrolling Types (modes): Physical and Logical which can be switched by property UsePhysicalScrolling. In the example the difference between these two modes is in the line scroll (when ScrollBar arrows are clicked). In Physical mode the scrolling is done in 16 pixels intervals per click; in logical - it is one pixel per click. The logical scrolling makes more sense for elements like list boxes (used in RadListBox or in the dropdown of RadComboBox) where the vertical scrolling depends on the heights of the child items.