<
ControlTemplate
x:Key
=
"RadTileListTemplate"
TargetType
=
"telerik:RadTileList"
>
<
Border
Background
=
"{TemplateBinding Background}"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
>
<
Grid
HorizontalAlignment
=
"Stretch"
VerticalAlignment
=
"Stretch"
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
ContentControl
x:Name
=
"PART_PanoramaBackground"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Top"
Content
=
"{TemplateBinding PanoramaBackground}"
ClipToBounds
=
"True"
/>
</
StackPanel
>
<
ScrollViewer
x:Name
=
"PART_ScrollViewer"
Margin
=
"0"
Padding
=
"{TemplateBinding Padding}"
Background
=
"{TemplateBinding Background}"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
HorizontalScrollBarVisibility
=
"Hidden"
VerticalScrollBarVisibility
=
"Hidden"
CanContentScroll
=
"True"
FocusVisualStyle
=
"{x:Null}"
>
<
ItemsPresenter
/>
<
ScrollViewer.InputBindings
>
<
KeyBinding
Command
=
"telerikPrimitives:ListControl.SelectAllCommand"
Key
=
"A"
Modifiers
=
"Control"
/>
</
ScrollViewer.InputBindings
>
</
ScrollViewer
>
<
ContentPresenter
x:Name
=
"dragVisualPlaceholder"
Visibility
=
"Collapsed"
HorizontalAlignment
=
"Stretch"
VerticalAlignment
=
"Stretch"
/>
</
Grid
>
</
Border
>
</
ControlTemplate
>
<
Style
BasedOn
=
"{StaticResource RadTileListStyle}"
TargetType
=
"telerik:RadTileList"
>
<
Setter
Property
=
"Template"
Value
=
"{StaticResource RadTileListTemplate}"
/>
</
Style
>
Horizontal and Vertical ScrollBars do not hide when ScrollViewer.HorizontalScrollBarVisibility or ScrollViewer.VerticalScrollBarVisibility of the RadTileList is set to Hidden.