<!--
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
-->

<Styles xmlns="https://github.com/avaloniaui">
  <Style Selector="Calendar">
    <!--<Setter Property="Focusable" Value="False" />-->
    <Setter Property="BorderThickness" Value="{DynamicResource ThemeBorderThickness}" />
    <Setter Property="BorderBrush" Value="{DynamicResource ThemeBorderHighBrush}" />
    <Setter Property="Background" Value="{DynamicResource ThemeBackgroundBrush}" />
    <Setter Property="HeaderBackground" Value="{DynamicResource ThemeAccentBrush2}" />
    <Setter Property="Template">
      <ControlTemplate>
        <StackPanel Name="Root"
                    HorizontalAlignment="Center"
                    ClipToBounds="True">

                    <CalendarItem Name="CalendarItem"
                        Background="{TemplateBinding Background}"
                        BorderBrush="{TemplateBinding BorderBrush}"
                        BorderThickness="{TemplateBinding BorderThickness}"
                        CornerRadius="{TemplateBinding CornerRadius}"
                        HeaderBackground="{TemplateBinding HeaderBackground}"/>

        </StackPanel>
      </ControlTemplate>
    </Setter>
  </Style>
</Styles>
