<Grid MaxHeight="670" Width="323"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Name="SummaryPane" x:Uid="Layout"
RequestedTheme="Light">
	<Grid.Resources>
		<ResourceDictionary>
			<ResourceDictionary.ThemeDictionaries>
				<ResourceDictionary x:Key="Default">
					<!-- Default theme resources -->
					<SolidColorBrush x:Key="ReaderFlyoutBorderStrokeBrush" Color="#FF2A2A2A"/>
					<SolidColorBrush x:Key="ReaderFlyoutBorderFillBrush" Color="White"/>
					<SolidColorBrush x:Key="ReaderBookmarkLevelsBrush" Color="#99CACACA"/>
					<x:Double x:Key="ReaderListViewItemDisabledThemeOpacity">0.55</x:Double>
					<x:Double x:Key="ReaderListViewItemSelectedBorderThemeThickness">4</x:Double>
					<SolidColorBrush x:Key="ReaderListViewItemForegroundThemeBrush" Color="#FF000000"  />
					<SolidColorBrush x:Key="ReaderListViewItemFocusBorderThemeBrush" Color="#FFFFFFFF"  />
					<SolidColorBrush x:Key="ReaderListViewItemPointerOverBackgroundThemeBrush" Color="#FFDEDEDE" />
					<SolidColorBrush x:Key="ReaderListViewItemSelectedBackgroundThemeBrush" Color="#FFD24726" />
					<SolidColorBrush x:Key="ReaderListViewItemSelectedTextBrush" Color="White" />
					<SolidColorBrush x:Key="ReaderListViewItemSelectedPointerOverBackgroundThemeBrush" Color="#FFDD735A" />
				</ResourceDictionary>
				<ResourceDictionary x:Key="HighContrast">
					<!-- High Contrast theme resources -->
					<SolidColorBrush x:Key="ReaderFlyoutBorderStrokeBrush" Color="{StaticResource SystemColorHighlightColor}"/>
					<SolidColorBrush x:Key="ReaderFlyoutBorderFillBrush" Color="{StaticResource SystemColorWindowColor}"/>
					<SolidColorBrush x:Key="ReaderBookmarkLevelsBrush" Color="{StaticResource SystemColorButtonTextColor}"/>
					<x:Double x:Key="ReaderListViewItemDisabledThemeOpacity">0.55</x:Double>
					<x:Double x:Key="ReaderListViewItemSelectedBorderThemeThickness">4</x:Double>
					<SolidColorBrush x:Key="ReaderListViewItemForegroundThemeBrush" Color="{StaticResource SystemColorWindowTextColor}"  />
					<SolidColorBrush x:Key="ReaderListViewItemFocusBorderThemeBrush" Color="{StaticResource SystemColorButtonTextColor}"  />
					<SolidColorBrush x:Key="ReaderListViewItemPointerOverBackgroundThemeBrush" Color="{StaticResource SystemColorHighlightColor}" />
					<SolidColorBrush x:Key="ReaderListViewItemSelectedBackgroundThemeBrush" Color="{StaticResource SystemColorHighlightColor}" />
					<SolidColorBrush x:Key="ReaderListViewItemSelectedTextBrush" Color="{StaticResource SystemColorHighlightTextColor}" />
					<SolidColorBrush x:Key="ReaderListViewItemSelectedPointerOverBackgroundThemeBrush" Color="{StaticResource SystemColorHighlightColor}" />
				</ResourceDictionary>
			</ResourceDictionary.ThemeDictionaries>
		</ResourceDictionary>

		<Style x:Name="SummaryItemContainerStyle" x:Key="SummaryItemContainerStyle" TargetType="ListViewItem">
			<Setter Property="Background" Value="Transparent"/>
			<Setter Property="BorderThickness" Value="0"/>
			<Setter Property="HorizontalContentAlignment" Value="Left"/>
			<Setter Property="VerticalContentAlignment" Value="Center"/>
			<Setter Property="TabNavigation" Value="Local"/>
			<Setter Property="Padding" Value="0"/>
			<Setter Property="Margin" Value="0"/>
			<Setter Property="MinHeight" Value="40"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="ListViewItem">
						<Border x:Name="OuterContainer">
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="CommonStates">
									<VisualState x:Name="Normal"/>
									<VisualState x:Name="PointerOver">
										<Storyboard>
											<DoubleAnimation Storyboard.TargetName="PointerOverBorder" Storyboard.TargetProperty="Opacity" Duration="0" To="1" />
											<ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectionBackground" Storyboard.TargetProperty="Fill">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ReaderListViewItemSelectedPointerOverBackgroundThemeBrush}" />
											</ObjectAnimationUsingKeyFrames>
										</Storyboard>
									</VisualState>
									<VisualState x:Name="Pressed">
										<Storyboard>
											<PointerDownThemeAnimation TargetName="ContentContainer" />
										</Storyboard>
									</VisualState>
									<VisualState x:Name="Disabled">
										<Storyboard>
											<DoubleAnimation Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="Opacity" Duration="0" To="{StaticResource ReaderListViewItemDisabledThemeOpacity}" />
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
								<VisualStateGroup x:Name="FocusStates">
									<VisualState x:Name="Focused">
										<Storyboard>
											<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="FocusVisual" />
										</Storyboard>
									</VisualState>
									<VisualState x:Name="Unfocused"/>
									<VisualState x:Name="PointerFocused"/>
								</VisualStateGroup>
								<VisualStateGroup x:Name="SelectionStates">
									<VisualState x:Name="Selecting"/>
									<VisualState x:Name="Selected">
										<Storyboard>
											<DoubleAnimation Storyboard.TargetName="SelectionBackground" Storyboard.TargetProperty="Opacity" Duration="0" To="1" />
											<ObjectAnimationUsingKeyFrames Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="Foreground">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ReaderListViewItemSelectedTextBrush}" />
											</ObjectAnimationUsingKeyFrames>
										</Storyboard>
									</VisualState>
									<VisualState x:Name="Unselecting"/>
									<VisualState x:Name="Unselected"/>
									<VisualState x:Name="SelectedUnfocused">
										<Storyboard>
											<DoubleAnimation Storyboard.TargetName="SelectionBackground" Storyboard.TargetProperty="Opacity" Duration="0" To="1" />
											<ObjectAnimationUsingKeyFrames Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="Foreground">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ReaderListViewItemSelectedTextBrush}" />
											</ObjectAnimationUsingKeyFrames>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<Grid x:Name="ReorderHintContent" Background="Transparent">
								<Border x:Name="ContentContainer">
									<Grid x:Name="InnerDragContent">
										<Rectangle x:Name="PointerOverBorder" IsHitTestVisible="False" Opacity="0" Fill="{StaticResource ReaderListViewItemPointerOverBackgroundThemeBrush}" Margin="0" />
										<Rectangle x:Name="FocusVisual" IsHitTestVisible="False" Opacity="0" StrokeThickness="2" Stroke="{StaticResource ReaderListViewItemFocusBorderThemeBrush}" />
										<Rectangle x:Name="SelectionBackground" Margin="0" Fill="{StaticResource ReaderListViewItemSelectedBackgroundThemeBrush}" Opacity="0" />
										<ContentPresenter x:Name="contentPresenter" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="{TemplateBinding Padding}" />
									</Grid>
								</Border>
							</Grid>
						</Border>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>

		<ControlTemplate x:Name='SummaryListBoxStyle'>
			<Border BorderThickness="2" Background="{StaticResource ReaderFlyoutBorderFillBrush}" BorderBrush="{StaticResource ReaderFlyoutBorderStrokeBrush}">
				<ScrollViewer ZoomMode="Disabled" x:Name="ScrollViewer" HorizontalScrollMode="Disabled" VerticalScrollMode="Enabled" IsVerticalRailEnabled="True" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled" BorderThickness="0" Padding="0,3,0,3">
					<ItemsPresenter/>
					<ScrollViewer.Transitions>
						<TransitionCollection>
							<ContentThemeTransition />
						</TransitionCollection>
					</ScrollViewer.Transitions>
				</ScrollViewer>
			</Border>
		</ControlTemplate>

		<DataTemplate x:Name="SummaryListItemStyleL0">
			<TextBlock Margin="19,25,20,15" Text="{Binding ItemText}" FontFamily="{StaticResource ContentControlThemeFontFamily}" FontWeight="SemiBold" FontSize="14.667" MaxHeight="40" TextTrimming="CharacterEllipsis" TextWrapping="Wrap" LineStackingStrategy="BlockLineHeight" LineHeight="20"/>
		</DataTemplate>
		<DataTemplate x:Name="SummaryListItemStyleL1">
			<Border MinHeight="40" Margin="40,0,20,0" VerticalAlignment="Stretch" BorderBrush="{StaticResource ReaderBookmarkLevelsBrush}" BorderThickness="1,0,0,0">
				<TextBlock Text="{Binding ItemText}" Margin="10,14,0,16" FontFamily="{StaticResource ContentControlThemeFontFamily}" FontSize="14.667" MaxHeight="40" TextTrimming="CharacterEllipsis" TextWrapping="Wrap" LineStackingStrategy="BlockLineHeight" LineHeight="20"/>
			</Border>
		</DataTemplate>
		<DataTemplate x:Name="SummaryListItemStyleL2">
			<Border MinHeight="40" Margin="60,0,20,0" VerticalAlignment="Stretch" BorderBrush="{StaticResource ReaderBookmarkLevelsBrush}" BorderThickness="1,0,0,0">
				<TextBlock Margin="10,15,0,15" Text="{Binding ItemText}" FontFamily="{StaticResource ContentControlThemeFontFamily}" FontWeight="SemiLight" FontSize="14.667" MaxHeight="40" TextTrimming="CharacterEllipsis" TextWrapping="Wrap" LineStackingStrategy="BlockLineHeight" LineHeight="20"/>
			</Border>
		</DataTemplate>
	</Grid.Resources>
</Grid>