# ScrollMode

**RadTabControl** exposes the **ScrollMode** property which allows you to control the scrolling of the tab items. When the width of the window does not allow all tabs to be displayed, two scrolling buttons appear to the left and to the right side of the tab items. You can choose one of the **ScrollMode** values in order to control how the tab items should be scrolled. To demonstrate the different type of scrolling we are going to use the code in Example 1.

> The default value of the ScrollMode is **Pixel**.

**Example 1: Setting the ScrollMode property**

```XAML
<telerik:RadTabControl ScrollMode="Viewport" >
    <telerik:RadTabControl.Resources>
        <Style TargetType="telerik:RadTabItem">
            <Setter Property="CloseButtonVisibility" Value="Visible"/>
            <Setter Property="PinButtonVisibility" Value="Visible"/>
        </Style>
    </telerik:RadTabControl.Resources>
    <telerik:RadTabItem Header="Tab Item 1" />
    <telerik:RadTabItem Header="Tab Item 2"/>
    <telerik:RadTabItem Header="Tab Item 3"/>
    <telerik:RadTabItem Header="Tab Item 4"/>
    <telerik:RadTabItem Header="Tab Item 5"/>
    <telerik:RadTabItem Header="Tab Item 6"/>
    <telerik:RadTabItem Header="Tab Item 7"/>
    <telerik:RadTabItem Header="Tab Item 8"/>
    <telerik:RadTabItem Header="Tab Item 9"/>
</telerik:RadTabControl>
```

### **Pixel**

When set, the tab items will be scrolled 16 pixels per button click.

![RadTabControl with ScrollMode Pixel](https://www.telerik.com/products/wpf/documentation/assets/557436844198cf5e1f208e78ebe66568/radtabcontrol-features-tabs-scrollmode_pixel_0_1.gif)

### **Item**

When set, the tab items will be scrolled one item per button click.

![RadTabControl with ScrollMode Item](https://www.telerik.com/products/wpf/documentation/assets/71efe35367c9809d5a3192e391bcff2d/radtabcontrol-features-tabs-scrollmode_item_1_1.gif)

\###**Viewport**

When set, the tab items will be scrolled an amount equal to the available viewport width.

![RadTabControl with ScrollMode Viewport](https://www.telerik.com/products/wpf/documentation/assets/fbdd58d0834c8d8808e6e4b53ad057b5/radtabcontrol-features-tabs-scrollmode_viewport_2_1.gif)

## See Also

* [Keyboard Support](https://www.telerik.com/products/wpf/documentation/controls/radtabcontrol/features/keyboard-support)
* [Add and Remove Tabs](https://www.telerik.com/products/wpf/documentation/controls/radtabcontrol/populating-with-tabs/populating-add-remove-tabs)
