<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="C1Extended_Demo.CalendarBook" mc:Ignorable="d" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml" xmlns:local="clr-namespace:C1Extended_Demo" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
	<UserControl.Resources>
		<Style x:Key="SpiralTopDark" TargetType="Border">
			<Setter Property="Background">
				<Setter.Value>
					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
						<GradientStop Color="#FF484848" Offset="1" />
						<GradientStop Color="#FFC5C5C5" />
					</LinearGradientBrush>
				</Setter.Value>
			</Setter>
			<Setter Property="CornerRadius" Value="2,2,0,0" />
			<Setter Property="BorderBrush" Value="#FF1A1A1A" />
			<Setter Property="BorderThickness" Value="1,1,1,0" />
		</Style>
		<Style x:Key="C1BookItemStyle" TargetType="c1:C1BookItem">
			<Setter Property="Foreground" Value="#FF000000" />
			<Setter Property="HorizontalContentAlignment" Value="Stretch" />
			<Setter Property="VerticalContentAlignment" Value="Stretch" />
			<Setter Property="Background" Value="White" />
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="c1:C1BookItem">
						<Grid Background="{x:Null}">
							<ContentControl x:Name="ContentControl">
								<ContentControl.Template>
									<ControlTemplate>
										<ContentPresenter />
									</ControlTemplate>
								</ContentControl.Template>
								<ContentPresenter Cursor="{TemplateBinding Cursor}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" />
							</ContentControl>
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
	</UserControl.Resources>

    <Grid x:Name="LayoutRoot">
		<Grid.RowDefinitions>
			<RowDefinition />
			<RowDefinition />
		</Grid.RowDefinitions>
    	<local:CalendarTopSpiral VerticalAlignment="Bottom" />
    	<c1:C1Book x:Name="calendar2010" Orientation="Vertical" PageFoldAction="TurnPageOnClick" IsFirstPageOnTheRight="True" MinWidth="310" MaxWidth="400" MaxHeight="500" Grid.RowSpan="2" ItemContainerStyle="{StaticResource C1BookItemStyle}">
    		<local:CalendarBookCover d:IsHidden="True" />
    	</c1:C1Book>
    </Grid>
</UserControl>