<Window x:Class="RadDockingControl.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        Title="MainWindow" Height="350" Width="525">
    <Window.Resources>

        <Style x:Key="CustomScrollViewerStyle" TargetType="ScrollViewer">
            <Setter Property="VerticalScrollBarVisibility" Value="Disabled"/>
            <Style.Triggers>
                <Trigger Property="IsMouseOver" Value="True">
                    <Setter Property="HorizontalScrollBarVisibility" Value="Visible"/>
                </Trigger>
                <Trigger Property="IsMouseOver" Value="False">
                    <Setter Property="HorizontalScrollBarVisibility" Value="Disabled"/>
                </Trigger>                
            </Style.Triggers>
        </Style>

       
    </Window.Resources>
        <Grid>
            <telerik:RadDocking Name="radDocking" >
                <telerik:RadDocking.DocumentHost>
                    <telerik:RadSplitContainer Orientation="Vertical" >
                    <telerik:RadPaneGroup Name="radPaneGroup" ScrollViewer.CanContentScroll="False">
                        <telerik:RadPane Header="Pane One">
                                <telerik:RadPane.Content>
                                    <ScrollViewer Style="{StaticResource CustomScrollViewerStyle}">
                                    <StackPanel Orientation="Horizontal">
                                        <Button Content="This is some filler content."/>
                                        <Button Content="This is some filler content."/>
                                        <Button Content="This is some filler content."/>
                                        <Button Content="This is some filler content."/>
                                        <Button Content="This is some filler content."/>
                                        <Button Content="This is some filler content."/>
                                        <Button Content="This is some filler content."/>
                                        <Button Content="This is some filler content."/>
                                    </StackPanel>
                                </ScrollViewer>
                                </telerik:RadPane.Content>
                            </telerik:RadPane>
                        </telerik:RadPaneGroup>
                    <telerik:RadPaneGroup  >
                            <telerik:RadPane Header="Pane Two">
                                <telerik:RadPane.Content>
                                    <ScrollViewer Style="{StaticResource CustomScrollViewerStyle}">
                                        <StackPanel Orientation="Horizontal">
                                            <Button Content="This is some filler content."/>
                                            <Button Content="This is some filler content."/>
                                            <Button Content="This is some filler content."/>
                                            <Button Content="This is some filler content."/>
                                            <Button Content="This is some filler content."/>
                                            <Button Content="This is some filler content."/>
                                            <Button Content="This is some filler content."/>
                                            <Button Content="This is some filler content."/>
                                        </StackPanel>
                                    </ScrollViewer>
                                </telerik:RadPane.Content>
                            </telerik:RadPane>
                        </telerik:RadPaneGroup>
                    </telerik:RadSplitContainer>
                </telerik:RadDocking.DocumentHost>
            </telerik:RadDocking>
        </Grid>
</Window>
