Files
QuickLook/QuickLook.Plugin/QuickLook.Plugin.EpubViewer/EpubViewerControl.xaml
2018-07-24 22:07:19 +03:00

28 lines
1.4 KiB
XML

<UserControl x:Class="QuickLook.Plugin.EpubViewer.EpubViewerControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:QuickLook.Plugin.EpubViewer"
mc:Ignorable="d"
d:DesignHeight="600" d:DesignWidth="800">
<UserControl.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/QuickLook.Common;component/Styles/MainWindowStyles.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</UserControl.Resources>
<Grid KeyDown="Grid_KeyDown">
<local:BookHtmlContent x:Name="pagePanel" Background="#AAFFFFFF" />
<Button x:Name="buttonPrevChapter" Style="{StaticResource CaptionButtonStyle}" Width="24" Height="24"
HorizontalAlignment="Right" VerticalAlignment="Top"
Margin="0,8,50,0" Content="&#xE76B;" />
<Button x:Name="buttonNextChapter" Style="{StaticResource CaptionButtonStyle}" Width="24" Height="24"
HorizontalAlignment="Right" VerticalAlignment="Top"
Margin="0,8,18,0" Content="&#xE76C;" />
</Grid>
</UserControl>