-
Notifications
You must be signed in to change notification settings - Fork 16
/
EpubViewerControl.xaml
28 lines (25 loc) · 1.43 KB
/
EpubViewerControl.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<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="" />
<Button x:Name="buttonNextChapter" Style="{StaticResource CaptionButtonStyle}" Width="24" Height="24"
HorizontalAlignment="Right" VerticalAlignment="Top"
Margin="0,8,18,0" Content="" />
</Grid>
</UserControl>