<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:c1calendar="using:C1.Xaml.Calendar"
    xmlns:c1sched="using:C1.Xaml.Schedule">

    <ResourceDictionary.ThemeDictionaries>
        <ResourceDictionary x:Key="Default">
            <SolidColorBrush x:Key="TodayBackgroundThemeBrush" Color="#FF757575" />
            <SolidColorBrush x:Key="CurrentTimeThemeBrush" Color="#FF757575" />
            <SolidColorBrush x:Key="TodayForegroundThemeBrush" Color="White"/>
            <SolidColorBrush x:Key="GridLinesBrush" Color="#DFFFFFFF"/>
            <SolidColorBrush x:Key="HotlightThemeBrush" Color="#FF1888D8" />
            <SolidColorBrush x:Key="AppointmentBorderThemeBrush" Color="#FF24AAD8" />
            <SolidColorBrush x:Key="C1SchedulerBackgroundBrush" Color="#FF000000" />
            <SolidColorBrush x:Key="AlternatingBackgroundBrush" Color="#19FFFFFF" />
        </ResourceDictionary>
        <ResourceDictionary x:Key="Light">
            <SolidColorBrush x:Key="TodayBackgroundThemeBrush" Color="#FF757575" />
            <SolidColorBrush x:Key="CurrentTimeThemeBrush" Color="#FF757575" />
            <SolidColorBrush x:Key="TodayForegroundThemeBrush" Color="White"/>
            <SolidColorBrush x:Key="GridLinesBrush" Color="White"/>
            <SolidColorBrush x:Key="HotlightThemeBrush" Color="#FF1888D8" />
            <SolidColorBrush x:Key="AppointmentBorderThemeBrush" Color="#FF24AAD8" />
            <SolidColorBrush x:Key="C1SchedulerBackgroundBrush" Color="#FFEBEBF0" />
            <SolidColorBrush x:Key="AlternatingBackgroundBrush" Color="#09000000" />
        </ResourceDictionary>
        <ResourceDictionary x:Key="HighContrast">
            <SolidColorBrush x:Key="TodayBackgroundThemeBrush" Color="#FF008000"/>
            <SolidColorBrush x:Key="CurrentTimeThemeBrush" Color="#FF008000" />
            <SolidColorBrush x:Key="TodayForegroundThemeBrush" Color="White"/>
            <SolidColorBrush x:Key="GridLinesBrush" Color="#FFFFFF00"/>
            <SolidColorBrush x:Key="HotlightThemeBrush" Color="#FF00A000" />
            <SolidColorBrush x:Key="AppointmentBorderThemeBrush" Color="#FFFFFF00" />
            <SolidColorBrush x:Key="C1SchedulerBackgroundBrush" Color="#FF000000" />
            <SolidColorBrush x:Key="AlternatingBackgroundBrush" Color="#19FFFFFF" />
        </ResourceDictionary>
        <ResourceDictionary x:Key="HighContrastBlack">
            <SolidColorBrush x:Key="TodayBackgroundThemeBrush" Color="#FF1AEBFF"/>
            <SolidColorBrush x:Key="CurrentTimeThemeBrush" Color="#FF1AEBFF" />
            <SolidColorBrush x:Key="TodayForegroundThemeBrush" Color="Black"/>
            <SolidColorBrush x:Key="GridLinesBrush" Color="#FFFFFFFF"/>
            <SolidColorBrush x:Key="HotlightThemeBrush" Color="#FF000000" />
            <SolidColorBrush x:Key="AppointmentBorderThemeBrush" Color="#FFFFFFFF" />
            <SolidColorBrush x:Key="C1SchedulerBackgroundBrush" Color="#FF000000" />
            <SolidColorBrush x:Key="AlternatingBackgroundBrush" Color="#19FFFFFF" />
        </ResourceDictionary>
        <ResourceDictionary x:Key="HighContrastWhite">
            <SolidColorBrush x:Key="TodayBackgroundThemeBrush" Color="#FF37006E"/>
            <SolidColorBrush x:Key="CurrentTimeThemeBrush" Color="#FF37006E" />
            <SolidColorBrush x:Key="TodayForegroundThemeBrush" Color="White"/>
            <SolidColorBrush x:Key="GridLinesBrush" Color="#FF000000"/>
            <SolidColorBrush x:Key="HotlightThemeBrush" Color="#FF000000" />
            <SolidColorBrush x:Key="AppointmentBorderThemeBrush" Color="#FF000000" />
            <SolidColorBrush x:Key="C1SchedulerBackgroundBrush" Color="#FFFFFFFF" />
            <SolidColorBrush x:Key="AlternatingBackgroundBrush" Color="#09000000" />
        </ResourceDictionary> 
    </ResourceDictionary.ThemeDictionaries>
    
    <SolidColorBrush x:Key="HighlightThemeBrush" Color="#FF24AAD8" />

    <Style TargetType="c1sched:CoverElementsPane">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="c1sched:CoverElementsPane">
                    <Canvas Name="PART_ElementsCanvas" />
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="ListBox" x:Key="looklessListBox">
        <Setter Property="Padding" Value="0"/>
        <Setter Property="Background" Value="Transparent" />
        <Setter Property="BorderThickness" Value="0" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ListBox">
                    <ItemsPresenter />
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="c1sched:VisualIntervalsPresenter">
        <Setter Property="Padding" Value="0"/>
        <Setter Property="Background" Value="Transparent" />
        <Setter Property="BorderThickness" Value="0" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="c1sched:VisualIntervalsPresenter">
                    <Border Background="{TemplateBinding Background}">
                        <ItemsPresenter />
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="c1sched:TimeRuler">
        <Setter Property="BorderThickness" Value="0" />
        <Setter Property="BorderBrush" Value="Transparent" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="c1sched:TimeRuler">
                    <Grid BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}">
                        <ItemsPresenter />
                        <ContentControl x:Name="CurrentTimeIndicator" Visibility="Collapsed"
                            HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" 
                            DataContext="{TemplateBinding Scheduler}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <c1calendar:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
    <c1sched:VisualIntervalToStringConverter x:Key="VisualIntervalToStringConverter"/>
    <c1sched:DateTimeToStringConverter x:Key="DateTimeToStringConverter"/>

</ResourceDictionary>
