| 1 | <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| 2 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| 3 | xmlns:local="clr-namespace:UI.Controls" |
| 4 | xmlns:base="clr-namespace:UI.Controls.Base"> |
| 5 | <Style TargetType="{x:Type local:PageContainer}"> |
| 6 | <Setter Property="SnapsToDevicePixels" Value="True"/> |
| 7 | <Setter Property="FocusVisualStyle" Value="{x:Null}"/> |
| 8 | <Setter Property="Template"> |
| 9 | <Setter.Value> |
| 10 | <ControlTemplate TargetType="{x:Type local:PageContainer}"> |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | <ScrollViewer FocusVisualStyle="{x:Null}" SnapsToDevicePixels="True" x:Name="ScrollViewer" VerticalScrollBarVisibility="Auto" ScrollViewer.CanContentScroll="False"> |
| 16 | <Frame x:Name="Frame" Grid.Row="1" Content="{TemplateBinding Content}" NavigationUIVisibility="Hidden" FocusVisualStyle="{x:Null}"/> |
| 17 | </ScrollViewer> |
| 18 | |
| 19 | </ControlTemplate> |
| 20 | </Setter.Value> |
| 21 | </Setter> |
| 22 | </Style> |
| 23 | </ResourceDictionary> |