or
<
Window
x:Class
=
"RadDockingTests.MainWindow"
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
=
"Auto"
/>
</
Trigger
>
<
Trigger
Property
=
"IsMouseOver"
Value
=
"False"
>
<
Setter
Property
=
"HorizontalScrollBarVisibility"
Value
=
"Hidden"
/>
</
Trigger
>
</
Style.Triggers
>
</
Style
>
</
Window.Resources
>
<
Grid
>
<
telerik:RadDocking
Name
=
"radDocking"
>
<
telerik:RadDocking.DocumentHost
>
<
telerik:RadSplitContainer
Orientation
=
"Vertical"
>
<
telerik:RadPaneGroup
Name
=
"radPaneGroup"
>
<
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
>