Error when extracting XAML using Expression Blend

2 posts, 0 answers
  1. Joel Palmer
    Joel Palmer avatar
    164 posts
    Member since:
    May 2009

    Posted 23 May 2013 Link to this post

    I'm using Blend version 4.0.20525.0.  I extracted the style from WPF ScheduleView 2013.1.403.40.

    Without changing anything, I get two errors:
    Error 102 The member "DraggedItemsSource" is not recognized or is not accessible. C:\...
    Error 975 Cannot find the static member 'DraggedItemsSourceProperty' on the type 'DragVisual'. C:\...

    Problem area:
    <ContentPresenter
        x:Name="Content"
        ContentTemplate="{TemplateBinding ContentTemplate}"
        Content="{TemplateBinding DraggedItemsSource}"
        Grid.Column="1"
        HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
        Margin="{TemplateBinding Padding}"
        VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>


    Entire XAML
    <UserControl
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                  
                 xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                 xmlns:sched="clr-namespace:PrairieGrove.Common.Scheduler.Library"
                  
                 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                 xmlns:System="clr-namespace:System;assembly=mscorlib" xmlns:Telerik_Windows_Controls_Chromes="clr-namespace:Telerik.Windows.Controls.Chromes;assembly=Telerik.Windows.Controls" x:Class="PrairieGrove.Product.OsiPi.ManualLogger.TestUI.ScheduleUC"
                 mc:Ignorable="d"
                 d:DesignHeight="300" d:DesignWidth="300">
        <UserControl.Resources>
     
            <Style x:Key="RadScheduleViewStyle1" TargetType="{x:Type telerik:RadScheduleView}">
                <Setter Property="telerik:ScrollingSettingsBehavior.IsEnabled" Value="True"/>
                <Setter Property="telerik:ScrollingSettingsBehavior.ScrollAreaPadding" Value="30"/>
                <Setter Property="telerik:ScrollingSettingsBehavior.ScrollStep" Value="5"/>
                <Setter Property="telerik:ScrollingSettingsBehavior.ScrollStepTime" Value="0:0:0.01"/>
                <Setter Property="Foreground" Value="Black"/>
                <Setter Property="Background" Value="White"/>
                <Setter Property="BorderBrush" Value="Transparent"/>
                <Setter Property="BorderThickness" Value="0"/>
                <Setter Property="Template">
                    <Setter.Value>
                        <ControlTemplate TargetType="{x:Type telerik:RadScheduleView}">
                            <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}">
                                <VisualStateManager.VisualStateGroups>
                                    <VisualStateGroup x:Name="OrienatationStates">
                                        <VisualState x:Name="Horizontal">
                                            <Storyboard>
                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="HeadersHeight">
                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                        <DiscreteObjectKeyFrame.Value>
                                                            <Visibility>Collapsed</Visibility>
                                                        </DiscreteObjectKeyFrame.Value>
                                                    </DiscreteObjectKeyFrame>
                                                </ObjectAnimationUsingKeyFrames>
                                            </Storyboard>
                                        </VisualState>
                                        <VisualState x:Name="Vertical">
                                            <Storyboard>
                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="HeadersWidth">
                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                        <DiscreteObjectKeyFrame.Value>
                                                            <Visibility>Collapsed</Visibility>
                                                        </DiscreteObjectKeyFrame.Value>
                                                    </DiscreteObjectKeyFrame>
                                                </ObjectAnimationUsingKeyFrames>
                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Column)" Storyboard.TargetName="PART_ItemsHost">
                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                        <DiscreteObjectKeyFrame.Value>
                                                            <System:Int32>1</System:Int32>
                                                        </DiscreteObjectKeyFrame.Value>
                                                    </DiscreteObjectKeyFrame>
                                                </ObjectAnimationUsingKeyFrames>
                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.ColumnSpan)" Storyboard.TargetName="PART_ItemsHost">
                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                        <DiscreteObjectKeyFrame.Value>
                                                            <System:Int32>1</System:Int32>
                                                        </DiscreteObjectKeyFrame.Value>
                                                    </DiscreteObjectKeyFrame>
                                                </ObjectAnimationUsingKeyFrames>
                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="PART_ItemsHost">
                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                        <DiscreteObjectKeyFrame.Value>
                                                            <System:Int32>0</System:Int32>
                                                        </DiscreteObjectKeyFrame.Value>
                                                    </DiscreteObjectKeyFrame>
                                                </ObjectAnimationUsingKeyFrames>
                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.RowSpan)" Storyboard.TargetName="PART_ItemsHost">
                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                        <DiscreteObjectKeyFrame.Value>
                                                            <System:Int32>2</System:Int32>
                                                        </DiscreteObjectKeyFrame.Value>
                                                    </DiscreteObjectKeyFrame>
                                                </ObjectAnimationUsingKeyFrames>
                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Column)" Storyboard.TargetName="PART_TimeRulerPanel">
                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                        <DiscreteObjectKeyFrame.Value>
                                                            <System:Int32>0</System:Int32>
                                                        </DiscreteObjectKeyFrame.Value>
                                                    </DiscreteObjectKeyFrame>
                                                </ObjectAnimationUsingKeyFrames>
                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="PART_TimeRulerPanel">
                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                        <DiscreteObjectKeyFrame.Value>
                                                            <System:Int32>1</System:Int32>
                                                        </DiscreteObjectKeyFrame.Value>
                                                    </DiscreteObjectKeyFrame>
                                                </ObjectAnimationUsingKeyFrames>
                                            </Storyboard>
                                        </VisualState>
                                    </VisualStateGroup>
                                </VisualStateManager.VisualStateGroups>
                                <Grid>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="Auto"/>
                                        <RowDefinition Height="*"/>
                                    </Grid.RowDefinitions>
                                    <Border x:Name="NavigationHeader" BorderBrush="#FFB5B5B5" BorderThickness="1" Visibility="{TemplateBinding NavigationHeaderVisibility}">
                                        <Border.Background>
                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                <GradientStop Color="#FF868686"/>
                                                <GradientStop Color="#FF4F4F4F" Offset="0.5"/>
                                                <GradientStop Color="#FF0E0E0E" Offset="0.5"/>
                                                <GradientStop Color="#FF5B5B5B" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Border.Background>
                                        <Border BorderBrush="Transparent" BorderThickness="1">
                                            <Grid x:Name="ScheduleViewHeader">
                                                <Grid.ColumnDefinitions>
                                                    <ColumnDefinition Width="Auto"/>
                                                    <ColumnDefinition Width="*"/>
                                                </Grid.ColumnDefinitions>
                                                <ListBox x:Name="ViewModeSelection" Grid.Column="0" SelectionMode="Single">
                                                    <ListBox.Style>
                                                        <Style TargetType="{x:Type ListBox}">
                                                            <Setter Property="BorderBrush" Value="{x:Null}"/>
                                                            <Setter Property="Background" Value="{x:Null}"/>
                                                            <Setter Property="BorderThickness" Value="0"/>
                                                            <Setter Property="Margin" Value="2"/>
                                                            <Setter Property="IsTabStop" Value="False"/>
                                                            <Setter Property="ItemContainerStyle">
                                                                <Setter.Value>
                                                                    <Style TargetType="{x:Type ListBoxItem}">
                                                                        <Setter Property="IsTabStop" Value="False"/>
                                                                        <Setter Property="Margin" Value="2"/>
                                                                        <Setter Property="Padding" Value="6,3"/>
                                                                        <Setter Property="MinWidth" Value="84"/>
                                                                        <Setter Property="Foreground" Value="White"/>
                                                                        <Setter Property="HorizontalContentAlignment" Value="Center"/>
                                                                        <Setter Property="IsTabStop" Value="False"/>
                                                                        <Setter Property="Template">
                                                                            <Setter.Value>
                                                                                <ControlTemplate TargetType="{x:Type ListBoxItem}">
                                                                                    <Grid>
                                                                                        <VisualStateManager.VisualStateGroups>
                                                                                            <VisualStateGroup x:Name="CommonStates">
                                                                                                <VisualState x:Name="Normal"/>
                                                                                                <VisualState x:Name="MouseOver">
                                                                                                    <Storyboard>
                                                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground)" Storyboard.TargetName="Content">
                                                                                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                                <DiscreteObjectKeyFrame.Value>
                                                                                                                    <SolidColorBrush Color="Black"/>
                                                                                                                </DiscreteObjectKeyFrame.Value>
                                                                                                            </DiscreteObjectKeyFrame>
                                                                                                        </ObjectAnimationUsingKeyFrames>
                                                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="CheckOuterBorder">
                                                                                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                                <DiscreteObjectKeyFrame.Value>
                                                                                                                    <SolidColorBrush Color="#FFFFC92B"/>
                                                                                                                </DiscreteObjectKeyFrame.Value>
                                                                                                            </DiscreteObjectKeyFrame>
                                                                                                        </ObjectAnimationUsingKeyFrames>
                                                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="CheckOuterBorder">
                                                                                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                                <DiscreteObjectKeyFrame.Value>
                                                                                                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                                        <GradientStop Color="#FFFFFBA3" Offset="1"/>
                                                                                                                        <GradientStop Color="#FFFFFBDA" Offset="0"/>
                                                                                                                        <GradientStop Color="#FFFFD25A" Offset="0.43"/>
                                                                                                                        <GradientStop Color="#FFFEEBAE" Offset="0.42"/>
                                                                                                                    </LinearGradientBrush>
                                                                                                                </DiscreteObjectKeyFrame.Value>
                                                                                                            </DiscreteObjectKeyFrame>
                                                                                                        </ObjectAnimationUsingKeyFrames>
                                                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="CheckInnerBorder">
                                                                                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                                <DiscreteObjectKeyFrame.Value>
                                                                                                                    <SolidColorBrush Color="White"/>
                                                                                                                </DiscreteObjectKeyFrame.Value>
                                                                                                            </DiscreteObjectKeyFrame>
                                                                                                        </ObjectAnimationUsingKeyFrames>
                                                                                                    </Storyboard>
                                                                                                </VisualState>
                                                                                                <VisualState x:Name="Selected">
                                                                                                    <Storyboard>
                                                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground)" Storyboard.TargetName="Content">
                                                                                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                                <DiscreteObjectKeyFrame.Value>
                                                                                                                    <SolidColorBrush Color="Black"/>
                                                                                                                </DiscreteObjectKeyFrame.Value>
                                                                                                            </DiscreteObjectKeyFrame>
                                                                                                        </ObjectAnimationUsingKeyFrames>
                                                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="CheckOuterBorder">
                                                                                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                                <DiscreteObjectKeyFrame.Value>
                                                                                                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                                        <GradientStop Color="#FF282828"/>
                                                                                                                        <GradientStop Color="#FF5F5F5F" Offset="1"/>
                                                                                                                    </LinearGradientBrush>
                                                                                                                </DiscreteObjectKeyFrame.Value>
                                                                                                            </DiscreteObjectKeyFrame>
                                                                                                        </ObjectAnimationUsingKeyFrames>
                                                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="CheckOuterBorder">
                                                                                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                                <DiscreteObjectKeyFrame.Value>
                                                                                                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                                        <GradientStop Color="#FFFFD74E" Offset="0.996"/>
                                                                                                                        <GradientStop Color="#FFFFDCAB" Offset="0.17"/>
                                                                                                                        <GradientStop Color="#FFFE9227" Offset="0.57"/>
                                                                                                                        <GradientStop Color="#FFFFD18F" Offset="0.56"/>
                                                                                                                        <GradientStop Color="#FFFFBA74" Offset="0"/>
                                                                                                                    </LinearGradientBrush>
                                                                                                                </DiscreteObjectKeyFrame.Value>
                                                                                                            </DiscreteObjectKeyFrame>
                                                                                                        </ObjectAnimationUsingKeyFrames>
                                                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="CheckInnerBorder">
                                                                                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                                <DiscreteObjectKeyFrame.Value>
                                                                                                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                                        <GradientStop Color="#FFB69A78"/>
                                                                                                                        <GradientStop Color="#FFFFE17A" Offset="0.126"/>
                                                                                                                    </LinearGradientBrush>
                                                                                                                </DiscreteObjectKeyFrame.Value>
                                                                                                            </DiscreteObjectKeyFrame>
                                                                                                        </ObjectAnimationUsingKeyFrames>
                                                                                                    </Storyboard>
                                                                                                </VisualState>
                                                                                            </VisualStateGroup>
                                                                                        </VisualStateManager.VisualStateGroups>
                                                                                        <Border x:Name="CheckOuterBorder" BorderBrush="#FF848484" BorderThickness="1" Background="#00000000" CornerRadius="1">
                                                                                            <Rectangle x:Name="CheckInnerBorder" Stroke="#00000000"/>
                                                                                        </Border>
                                                                                        <ContentPresenter x:Name="Content" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" telerik:LocalizationManager.ResourceKey="{Binding Title}" RecognizesAccessKey="True" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                                                                    </Grid>
                                                                                </ControlTemplate>
                                                                            </Setter.Value>
                                                                        </Setter>
                                                                    </Style>
                                                                </Setter.Value>
                                                            </Setter>
                                                            <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
                                                            <Setter Property="Template">
                                                                <Setter.Value>
                                                                    <ControlTemplate TargetType="{x:Type ListBox}">
                                                                        <ScrollViewer x:Name="ScrollViewer" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Margin="0" Padding="{TemplateBinding Padding}" VerticalScrollBarVisibility="Auto">
                                                                            <ItemsPresenter/>
                                                                        </ScrollViewer>
                                                                    </ControlTemplate>
                                                                </Setter.Value>
                                                            </Setter>
                                                            <Setter Property="ItemsPanel">
                                                                <Setter.Value>
                                                                    <ItemsPanelTemplate>
                                                                        <telerik:RadUniformGrid IsItemsHost="True" Rows="1"/>
                                                                    </ItemsPanelTemplate>
                                                                </Setter.Value>
                                                            </Setter>
                                                        </Style>
                                                    </ListBox.Style>
                                                </ListBox>
                                                <StackPanel Grid.Column="1" HorizontalAlignment="Right" Orientation="Horizontal">
                                                    <ContentControl x:Name="CurrentInterval" Content="{TemplateBinding CurrentVisibleRangeText}" HorizontalAlignment="Right" VerticalAlignment="Center">
                                                        <ContentControl.Style>
                                                            <Style TargetType="{x:Type ContentControl}">
                                                                <Setter Property="Margin" Value="5"/>
                                                                <Setter Property="VerticalAlignment" Value="Center"/>
                                                                <Setter Property="HorizontalAlignment" Value="Right"/>
                                                                <Setter Property="FontWeight" Value="Bold"/>
                                                                <Setter Property="ContentTemplate">
                                                                    <Setter.Value>
                                                                        <DataTemplate>
                                                                            <Grid>
                                                                                <TextBlock Foreground="Black" Margin="0,1,0,0" Text="{Binding}"/>
                                                                                <TextBlock Foreground="White" Margin="0,0,0,1" Text="{Binding}"/>
                                                                            </Grid>
                                                                        </DataTemplate>
                                                                    </Setter.Value>
                                                                </Setter>
                                                            </Style>
                                                        </ContentControl.Style>
                                                    </ContentControl>
                                                    <telerik:RadButton Command="telerik:RadScheduleViewCommands.DecreaseVisibleDateLarge" InnerCornerRadius="0">
                                                        <telerik:RadButton.Style>
                                                            <Style TargetType="{x:Type telerik:RadButton}">
                                                                <Setter Property="Template">
                                                                    <Setter.Value>
                                                                        <ControlTemplate TargetType="{x:Type telerik:RadButton}">
                                                                            <Grid>
                                                                                <VisualStateManager.VisualStateGroups>
                                                                                    <VisualStateGroup x:Name="CommonStates">
                                                                                        <VisualState x:Name="Normal"/>
                                                                                        <VisualState x:Name="MouseOver">
                                                                                            <Storyboard>
                                                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="IconForeground">
                                                                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                        <DiscreteObjectKeyFrame.Value>
                                                                                                            <SolidColorBrush Color="Black"/>
                                                                                                        </DiscreteObjectKeyFrame.Value>
                                                                                                    </DiscreteObjectKeyFrame>
                                                                                                </ObjectAnimationUsingKeyFrames>
                                                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="IconBackground">
                                                                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                        <DiscreteObjectKeyFrame.Value>
                                                                                                            <SolidColorBrush Color="White"/>
                                                                                                        </DiscreteObjectKeyFrame.Value>
                                                                                                    </DiscreteObjectKeyFrame>
                                                                                                </ObjectAnimationUsingKeyFrames>
                                                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="CheckOuterBorder">
                                                                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                        <DiscreteObjectKeyFrame.Value>
                                                                                                            <SolidColorBrush Color="#FFFFC92B"/>
                                                                                                        </DiscreteObjectKeyFrame.Value>
                                                                                                    </DiscreteObjectKeyFrame>
                                                                                                </ObjectAnimationUsingKeyFrames>
                                                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="CheckOuterBorder">
                                                                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                        <DiscreteObjectKeyFrame.Value>
                                                                                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                                <GradientStop Color="#FFFFFBA3" Offset="1"/>
                                                                                                                <GradientStop Color="#FFFFFBDA" Offset="0"/>
                                                                                                                <GradientStop Color="#FFFFD25A" Offset="0.43"/>
                                                                                                                <GradientStop Color="#FFFEEBAE" Offset="0.42"/>
                                                                                                            </LinearGradientBrush>
                                                                                                        </DiscreteObjectKeyFrame.Value>
                                                                                                    </DiscreteObjectKeyFrame>
                                                                                                </ObjectAnimationUsingKeyFrames>
                                                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="CheckInnerBorder">
                                                                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                        <DiscreteObjectKeyFrame.Value>
                                                                                                            <SolidColorBrush Color="White"/>
                                                                                                        </DiscreteObjectKeyFrame.Value>
                                                                                                    </DiscreteObjectKeyFrame>
                                                                                                </ObjectAnimationUsingKeyFrames>
                                                                                            </Storyboard>
                                                                                        </VisualState>
                                                                                        <VisualState x:Name="Pressed">
                                                                                            <Storyboard>
                                                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="IconForeground">
                                                                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                        <DiscreteObjectKeyFrame.Value>
                                                                                                            <SolidColorBrush Color="Black"/>
                                                                                                        </DiscreteObjectKeyFrame.Value>
                                                                                                    </DiscreteObjectKeyFrame>
                                                                                                </ObjectAnimationUsingKeyFrames>
                                                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="IconBackground">
                                                                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                        <DiscreteObjectKeyFrame.Value>
                                                                                                            <SolidColorBrush Color="White"/>
                                                                                                        </DiscreteObjectKeyFrame.Value>
                                                                                                    </DiscreteObjectKeyFrame>
                                                                                                </ObjectAnimationUsingKeyFrames>
                                                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="CheckOuterBorder">
                                                                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                        <DiscreteObjectKeyFrame.Value>
                                                                                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                                <GradientStop Color="#FF282828"/>
                                                                                                                <GradientStop Color="#FF5F5F5F" Offset="1"/>
                                                                                                            </LinearGradientBrush>
                                                                                                        </DiscreteObjectKeyFrame.Value>
                                                                                                    </DiscreteObjectKeyFrame>
                                                                                                </ObjectAnimationUsingKeyFrames>
                                                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="CheckOuterBorder">
                                                                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                        <DiscreteObjectKeyFrame.Value>
                                                                                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                                <GradientStop Color="#FFFFD74E" Offset="0.996"/>
                                                                                                                <GradientStop Color="#FFFFDCAB" Offset="0.17"/>
                                                                                                                <GradientStop Color="#FFFE9227" Offset="0.57"/>
                                                                                                                <GradientStop Color="#FFFFD18F" Offset="0.56"/>
                                                                                                                <GradientStop Color="#FFFFBA74" Offset="0"/>
                                                                                                            </LinearGradientBrush>
                                                                                                        </DiscreteObjectKeyFrame.Value>
                                                                                                    </DiscreteObjectKeyFrame>
                                                                                                </ObjectAnimationUsingKeyFrames>
                                                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="CheckInnerBorder">
                                                                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                        <DiscreteObjectKeyFrame.Value>
                                                                                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                                <GradientStop Color="#FFB69A78"/>
                                                                                                                <GradientStop Color="#FFFFE17A" Offset="0.126"/>
                                                                                                            </LinearGradientBrush>
                                                                                                        </DiscreteObjectKeyFrame.Value>
                                                                                                    </DiscreteObjectKeyFrame>
                                                                                                </ObjectAnimationUsingKeyFrames>
                                                                                            </Storyboard>
                                                                                        </VisualState>
                                                                                    </VisualStateGroup>
                                                                                </VisualStateManager.VisualStateGroups>
                                                                                <Border x:Name="CheckOuterBorder" BorderBrush="#FF848484" BorderThickness="1" Background="#00000000" CornerRadius="1">
                                                                                    <Rectangle x:Name="CheckInnerBorder" Stroke="#00000000"/>
                                                                                </Border>
                                                                                <Path x:Name="IconBackground" Data="M4,0L0,3.5 4,7z" Fill="Black" Height="7" Margin="0,1,0,0" Width="4"/>
                                                                                <Path x:Name="IconForeground" Data="M4,0L0,3.5 4,7z" Fill="White" Height="7" Margin="0,0,0,1" Width="4"/>
                                                                            </Grid>
                                                                        </ControlTemplate>
                                                                    </Setter.Value>
                                                                </Setter>
                                                                <Style.BasedOn>
                                                                    <Style TargetType="{x:Type FrameworkElement}">
                                                                        <Setter Property="Margin" Value="2"/>
                                                                        <Setter Property="Width" Value="22"/>
                                                                        <Setter Property="Height" Value="22"/>
                                                                        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
                                                                        <Setter Property="HorizontalAlignment" Value="Center"/>
                                                                        <Setter Property="VerticalAlignment" Value="Center"/>
                                                                    </Style>
                                                                </Style.BasedOn>
                                                            </Style>
                                                        </telerik:RadButton.Style>
                                                    </telerik:RadButton>
                                                    <telerik:RadDatePicker x:Name="PART_NavigationPicker" DisplayDate="2013-05-01" InputMode="DatePicker" SelectedValue="{Binding CurrentDate, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}">
                                                        <telerik:RadDatePicker.Style>
                                                            <Style TargetType="{x:Type telerik:RadDatePicker}">
                                                                <Setter Property="Template">
                                                                    <Setter.Value>
                                                                        <ControlTemplate TargetType="{x:Type telerik:RadDatePicker}">
                                                                            <telerik:RadDropDownButton DropDownIndicatorVisibility="Collapsed" IsOpen="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" InnerCornerRadius="0">
                                                                                <telerik:RadDropDownButton.DropDownContent>
                                                                                    <telerik:RadCalendar x:Name="PART_Calendar" Culture="{TemplateBinding Culture}" DisplayDateEnd="{TemplateBinding DisplayDateEnd}" DateSelectionMode="{TemplateBinding DateSelectionMode}" DisplayDateStart="{TemplateBinding DisplayDateStart}" DisplayDate="{Binding DisplayDate, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" IsReadOnly="{TemplateBinding IsReadOnly}" SelectableDateEnd="{TemplateBinding SelectableDateEnd}" SelectionMode="Single" SelectedDate="{Binding SelectedDate, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" SelectableDateStart="{TemplateBinding SelectableDateStart}">
                                                                                        <telerik:StyleManager.Theme>
                                                                                            <telerik:Office_BlackTheme/>
                                                                                        </telerik:StyleManager.Theme>
                                                                                    </telerik:RadCalendar>
                                                                                </telerik:RadDropDownButton.DropDownContent>
                                                                                <telerik:RadDropDownButton.Style>
                                                                                    <Style TargetType="{x:Type telerik:RadDropDownButton}">
                                                                                        <Setter Property="Template">
                                                                                            <Setter.Value>
                                                                                                <ControlTemplate TargetType="{x:Type telerik:RadDropDownButton}">
                                                                                                    <Grid>
                                                                                                        <VisualStateManager.VisualStateGroups>
                                                                                                            <VisualStateGroup x:Name="CommonStates">
                                                                                                                <VisualState x:Name="Normal"/>
                                                                                                                <VisualState x:Name="MouseOver">
                                                                                                                    <Storyboard>
                                                                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="CalendarIcon">
                                                                                                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                                                <DiscreteObjectKeyFrame.Value>
                                                                                                                                    <SolidColorBrush Color="Black"/>
                                                                                                                                </DiscreteObjectKeyFrame.Value>
                                                                                                                            </DiscreteObjectKeyFrame>
                                                                                                                        </ObjectAnimationUsingKeyFrames>
                                                                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="CalendarIcon">
                                                                                                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                                                <DiscreteObjectKeyFrame.Value>
                                                                                                                                    <SolidColorBrush Color="White"/>
                                                                                                                                </DiscreteObjectKeyFrame.Value>
                                                                                                                            </DiscreteObjectKeyFrame>
                                                                                                                        </ObjectAnimationUsingKeyFrames>
                                                                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="CheckOuterBorder">
                                                                                                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                                                <DiscreteObjectKeyFrame.Value>
                                                                                                                                    <SolidColorBrush Color="#FFFFC92B"/>
                                                                                                                                </DiscreteObjectKeyFrame.Value>
                                                                                                                            </DiscreteObjectKeyFrame>
                                                                                                                        </ObjectAnimationUsingKeyFrames>
                                                                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="CheckOuterBorder">
                                                                                                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                                                <DiscreteObjectKeyFrame.Value>
                                                                                                                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                                                        <GradientStop Color="#FFFFFBA3" Offset="1"/>
                                                                                                                                        <GradientStop Color="#FFFFFBDA" Offset="0"/>
                                                                                                                                        <GradientStop Color="#FFFFD25A" Offset="0.43"/>
                                                                                                                                        <GradientStop Color="#FFFEEBAE" Offset="0.42"/>
                                                                                                                                    </LinearGradientBrush>
                                                                                                                                </DiscreteObjectKeyFrame.Value>
                                                                                                                            </DiscreteObjectKeyFrame>
                                                                                                                        </ObjectAnimationUsingKeyFrames>
                                                                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="CheckInnerBorder">
                                                                                                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                                                <DiscreteObjectKeyFrame.Value>
                                                                                                                                    <SolidColorBrush Color="White"/>
                                                                                                                                </DiscreteObjectKeyFrame.Value>
                                                                                                                            </DiscreteObjectKeyFrame>
                                                                                                                        </ObjectAnimationUsingKeyFrames>
                                                                                                                    </Storyboard>
                                                                                                                </VisualState>
                                                                                                                <VisualState x:Name="Pressed">
                                                                                                                    <Storyboard>
                                                                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="CalendarIcon">
                                                                                                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                                                <DiscreteObjectKeyFrame.Value>
                                                                                                                                    <SolidColorBrush Color="Black"/>
                                                                                                                                </DiscreteObjectKeyFrame.Value>
                                                                                                                            </DiscreteObjectKeyFrame>
                                                                                                                        </ObjectAnimationUsingKeyFrames>
                                                                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="CalendarIcon">
                                                                                                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                                                <DiscreteObjectKeyFrame.Value>
                                                                                                                                    <SolidColorBrush Color="White"/>
                                                                                                                                </DiscreteObjectKeyFrame.Value>
                                                                                                                            </DiscreteObjectKeyFrame>
                                                                                                                        </ObjectAnimationUsingKeyFrames>
                                                                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="CheckOuterBorder">
                                                                                                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                                                <DiscreteObjectKeyFrame.Value>
                                                                                                                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                                                        <GradientStop Color="#FF282828"/>
                                                                                                                                        <GradientStop Color="#FF5F5F5F" Offset="1"/>
                                                                                                                                    </LinearGradientBrush>
                                                                                                                                </DiscreteObjectKeyFrame.Value>
                                                                                                                            </DiscreteObjectKeyFrame>
                                                                                                                        </ObjectAnimationUsingKeyFrames>
                                                                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="CheckOuterBorder">
                                                                                                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                                                <DiscreteObjectKeyFrame.Value>
                                                                                                                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                                                        <GradientStop Color="#FFFFD74E" Offset="0.996"/>
                                                                                                                                        <GradientStop Color="#FFFFDCAB" Offset="0.17"/>
                                                                                                                                        <GradientStop Color="#FFFE9227" Offset="0.57"/>
                                                                                                                                        <GradientStop Color="#FFFFD18F" Offset="0.56"/>
                                                                                                                                        <GradientStop Color="#FFFFBA74" Offset="0"/>
                                                                                                                                    </LinearGradientBrush>
                                                                                                                                </DiscreteObjectKeyFrame.Value>
                                                                                                                            </DiscreteObjectKeyFrame>
                                                                                                                        </ObjectAnimationUsingKeyFrames>
                                                                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="CheckInnerBorder">
                                                                                                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                                                <DiscreteObjectKeyFrame.Value>
                                                                                                                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                                                        <GradientStop Color="#FFB69A78"/>
                                                                                                                                        <GradientStop Color="#FFFFE17A" Offset="0.126"/>
                                                                                                                                    </LinearGradientBrush>
                                                                                                                                </DiscreteObjectKeyFrame.Value>
                                                                                                                            </DiscreteObjectKeyFrame>
                                                                                                                        </ObjectAnimationUsingKeyFrames>
                                                                                                                    </Storyboard>
                                                                                                                </VisualState>
                                                                                                                <VisualState x:Name="Opened">
                                                                                                                    <Storyboard>
                                                                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="CalendarIcon">
                                                                                                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                                                <DiscreteObjectKeyFrame.Value>
                                                                                                                                    <SolidColorBrush Color="Black"/>
                                                                                                                                </DiscreteObjectKeyFrame.Value>
                                                                                                                            </DiscreteObjectKeyFrame>
                                                                                                                        </ObjectAnimationUsingKeyFrames>
                                                                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="CalendarIcon">
                                                                                                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                                                <DiscreteObjectKeyFrame.Value>
                                                                                                                                    <SolidColorBrush Color="White"/>
                                                                                                                                </DiscreteObjectKeyFrame.Value>
                                                                                                                            </DiscreteObjectKeyFrame>
                                                                                                                        </ObjectAnimationUsingKeyFrames>
                                                                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="CheckOuterBorder">
                                                                                                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                                                <DiscreteObjectKeyFrame.Value>
                                                                                                                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                                                        <GradientStop Color="#FF282828"/>
                                                                                                                                        <GradientStop Color="#FF5F5F5F" Offset="1"/>
                                                                                                                                    </LinearGradientBrush>
                                                                                                                                </DiscreteObjectKeyFrame.Value>
                                                                                                                            </DiscreteObjectKeyFrame>
                                                                                                                        </ObjectAnimationUsingKeyFrames>
                                                                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="CheckOuterBorder">
                                                                                                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                                                <DiscreteObjectKeyFrame.Value>
                                                                                                                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                                                        <GradientStop Color="#FFFFD74E" Offset="0.996"/>
                                                                                                                                        <GradientStop Color="#FFFFDCAB" Offset="0.17"/>
                                                                                                                                        <GradientStop Color="#FFFE9227" Offset="0.57"/>
                                                                                                                                        <GradientStop Color="#FFFFD18F" Offset="0.56"/>
                                                                                                                                        <GradientStop Color="#FFFFBA74" Offset="0"/>
                                                                                                                                    </LinearGradientBrush>
                                                                                                                                </DiscreteObjectKeyFrame.Value>
                                                                                                                            </DiscreteObjectKeyFrame>
                                                                                                                        </ObjectAnimationUsingKeyFrames>
                                                                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="CheckInnerBorder">
                                                                                                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                                                <DiscreteObjectKeyFrame.Value>
                                                                                                                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                                                        <GradientStop Color="#FFB69A78"/>
                                                                                                                                        <GradientStop Color="#FFFFE17A" Offset="0.126"/>
                                                                                                                                    </LinearGradientBrush>
                                                                                                                                </DiscreteObjectKeyFrame.Value>
                                                                                                                            </DiscreteObjectKeyFrame>
                                                                                                                        </ObjectAnimationUsingKeyFrames>
                                                                                                                    </Storyboard>
                                                                                                                </VisualState>
                                                                                                            </VisualStateGroup>
                                                                                                        </VisualStateManager.VisualStateGroups>
                                                                                                        <Border x:Name="CheckOuterBorder" BorderBrush="#FF848484" BorderThickness="1" Background="#00000000" CornerRadius="1">
                                                                                                            <Rectangle x:Name="CheckInnerBorder" Stroke="#00000000"/>
                                                                                                        </Border>
                                                                                                        <ContentControl x:Name="CalendarIcon" Background="Black" Foreground="White" HorizontalContentAlignment="Center" IsTabStop="False" Margin="0,0,0,1">
                                                                                                            <ContentControl.Template>
                                                                                                                <ControlTemplate TargetType="{x:Type ContentControl}">
                                                                                                                    <Grid>
                                                                                                                        <Path x:Name="CalendarIconBackground" Data="M0,0.5L7,0.5 M0,2.5L7,2.5 M0,4.5L7,4.5 M0,6.5L7,6.5 M0.5,0L0.5,7 M2.5,0L2.5,7 M4.5,0L4.5,7 M6.5,0L6.5,7" Height="7" Margin="0,1,0,0" Stroke="{TemplateBinding Background}" Width="7"/>
                                                                                                                        <Path x:Name="CalendarIconForeground" Data="M0,0.5L7,0.5 M0,2.5L7,2.5 M0,4.5L7,4.5 M0,6.5L7,6.5 M0.5,0L0.5,7 M2.5,0L2.5,7 M4.5,0L4.5,7 M6.5,0L6.5,7" Height="7" Margin="0,0,0,1" Stroke="{TemplateBinding Foreground}" Width="7"/>
                                                                                                                    </Grid>
                                                                                                                </ControlTemplate>
                                                                                                            </ContentControl.Template>
                                                                                                        </ContentControl>
                                                                                                        <Popup x:Name="DropDownPopup" AllowsTransparency="True" Focusable="False" IsOpen="{Binding IsOpen, RelativeSource={RelativeSource TemplatedParent}}" Placement="Bottom" StaysOpen="False">
                                                                                                            <ContentPresenter x:Name="DropDownPopupContent" ContentTemplate="{TemplateBinding DropDownContentTemplate}" Content="{TemplateBinding DropDownContent}"/>
                                                                                                        </Popup>
                                                                                                    </Grid>
                                                                                                </ControlTemplate>
                                                                                            </Setter.Value>
                                                                                        </Setter>
                                                                                        <Style.BasedOn>
                                                                                            <Style TargetType="{x:Type FrameworkElement}">
                                                                                                <Setter Property="Margin" Value="2"/>
                                                                                                <Setter Property="Width" Value="22"/>
                                                                                                <Setter Property="Height" Value="22"/>
                                                                                                <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
                                                                                                <Setter Property="HorizontalAlignment" Value="Center"/>
                                                                                                <Setter Property="VerticalAlignment" Value="Center"/>
                                                                                            </Style>
                                                                                        </Style.BasedOn>
                                                                                    </Style>
                                                                                </telerik:RadDropDownButton.Style>
                                                                            </telerik:RadDropDownButton>
                                                                        </ControlTemplate>
                                                                    </Setter.Value>
                                                                </Setter>
                                                            </Style>
                                                        </telerik:RadDatePicker.Style>
                                                    </telerik:RadDatePicker>
                                                    <telerik:RadButton Command="telerik:RadScheduleViewCommands.IncreaseVisibleDateLarge" InnerCornerRadius="0">
                                                        <telerik:RadButton.Style>
                                                            <Style TargetType="{x:Type telerik:RadButton}">
                                                                <Setter Property="Template">
                                                                    <Setter.Value>
                                                                        <ControlTemplate TargetType="{x:Type telerik:RadButton}">
                                                                            <Grid>
                                                                                <VisualStateManager.VisualStateGroups>
                                                                                    <VisualStateGroup x:Name="CommonStates">
                                                                                        <VisualState x:Name="Normal"/>
                                                                                        <VisualState x:Name="MouseOver">
                                                                                            <Storyboard>
                                                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="IconForeground">
                                                                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                        <DiscreteObjectKeyFrame.Value>
                                                                                                            <SolidColorBrush Color="Black"/>
                                                                                                        </DiscreteObjectKeyFrame.Value>
                                                                                                    </DiscreteObjectKeyFrame>
                                                                                                </ObjectAnimationUsingKeyFrames>
                                                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="IconBackground">
                                                                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                        <DiscreteObjectKeyFrame.Value>
                                                                                                            <SolidColorBrush Color="White"/>
                                                                                                        </DiscreteObjectKeyFrame.Value>
                                                                                                    </DiscreteObjectKeyFrame>
                                                                                                </ObjectAnimationUsingKeyFrames>
                                                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="CheckOuterBorder">
                                                                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                        <DiscreteObjectKeyFrame.Value>
                                                                                                            <SolidColorBrush Color="#FFFFC92B"/>
                                                                                                        </DiscreteObjectKeyFrame.Value>
                                                                                                    </DiscreteObjectKeyFrame>
                                                                                                </ObjectAnimationUsingKeyFrames>
                                                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="CheckOuterBorder">
                                                                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                        <DiscreteObjectKeyFrame.Value>
                                                                                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                                <GradientStop Color="#FFFFFBA3" Offset="1"/>
                                                                                                                <GradientStop Color="#FFFFFBDA" Offset="0"/>
                                                                                                                <GradientStop Color="#FFFFD25A" Offset="0.43"/>
                                                                                                                <GradientStop Color="#FFFEEBAE" Offset="0.42"/>
                                                                                                            </LinearGradientBrush>
                                                                                                        </DiscreteObjectKeyFrame.Value>
                                                                                                    </DiscreteObjectKeyFrame>
                                                                                                </ObjectAnimationUsingKeyFrames>
                                                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="CheckInnerBorder">
                                                                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                        <DiscreteObjectKeyFrame.Value>
                                                                                                            <SolidColorBrush Color="White"/>
                                                                                                        </DiscreteObjectKeyFrame.Value>
                                                                                                    </DiscreteObjectKeyFrame>
                                                                                                </ObjectAnimationUsingKeyFrames>
                                                                                            </Storyboard>
                                                                                        </VisualState>
                                                                                        <VisualState x:Name="Pressed">
                                                                                            <Storyboard>
                                                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="IconForeground">
                                                                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                        <DiscreteObjectKeyFrame.Value>
                                                                                                            <SolidColorBrush Color="Black"/>
                                                                                                        </DiscreteObjectKeyFrame.Value>
                                                                                                    </DiscreteObjectKeyFrame>
                                                                                                </ObjectAnimationUsingKeyFrames>
                                                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="IconBackground">
                                                                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                        <DiscreteObjectKeyFrame.Value>
                                                                                                            <SolidColorBrush Color="White"/>
                                                                                                        </DiscreteObjectKeyFrame.Value>
                                                                                                    </DiscreteObjectKeyFrame>
                                                                                                </ObjectAnimationUsingKeyFrames>
                                                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="CheckOuterBorder">
                                                                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                        <DiscreteObjectKeyFrame.Value>
                                                                                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                                <GradientStop Color="#FF282828"/>
                                                                                                                <GradientStop Color="#FF5F5F5F" Offset="1"/>
                                                                                                            </LinearGradientBrush>
                                                                                                        </DiscreteObjectKeyFrame.Value>
                                                                                                    </DiscreteObjectKeyFrame>
                                                                                                </ObjectAnimationUsingKeyFrames>
                                                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="CheckOuterBorder">
                                                                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                        <DiscreteObjectKeyFrame.Value>
                                                                                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                                <GradientStop Color="#FFFFD74E" Offset="0.996"/>
                                                                                                                <GradientStop Color="#FFFFDCAB" Offset="0.17"/>
                                                                                                                <GradientStop Color="#FFFE9227" Offset="0.57"/>
                                                                                                                <GradientStop Color="#FFFFD18F" Offset="0.56"/>
                                                                                                                <GradientStop Color="#FFFFBA74" Offset="0"/>
                                                                                                            </LinearGradientBrush>
                                                                                                        </DiscreteObjectKeyFrame.Value>
                                                                                                    </DiscreteObjectKeyFrame>
                                                                                                </ObjectAnimationUsingKeyFrames>
                                                                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="CheckInnerBorder">
                                                                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                                                                        <DiscreteObjectKeyFrame.Value>
                                                                                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                                <GradientStop Color="#FFB69A78"/>
                                                                                                                <GradientStop Color="#FFFFE17A" Offset="0.126"/>
                                                                                                            </LinearGradientBrush>
                                                                                                        </DiscreteObjectKeyFrame.Value>
                                                                                                    </DiscreteObjectKeyFrame>
                                                                                                </ObjectAnimationUsingKeyFrames>
                                                                                            </Storyboard>
                                                                                        </VisualState>
                                                                                    </VisualStateGroup>
                                                                                </VisualStateManager.VisualStateGroups>
                                                                                <Border x:Name="CheckOuterBorder" BorderBrush="#FF848484" BorderThickness="1" Background="#00000000" CornerRadius="1">
                                                                                    <Rectangle x:Name="CheckInnerBorder" Stroke="#00000000"/>
                                                                                </Border>
                                                                                <Path x:Name="IconBackground" Data="M0,0L4,3.5 0,7z" Fill="Black" Height="7" Margin="0,1,0,0" Width="4"/>
                                                                                <Path x:Name="IconForeground" Data="M0,0L4,3.5 0,7z" Fill="White" Height="7" Margin="0,0,0,1" Width="4"/>
                                                                            </Grid>
                                                                        </ControlTemplate>
                                                                    </Setter.Value>
                                                                </Setter>
                                                                <Style.BasedOn>
                                                                    <Style TargetType="{x:Type FrameworkElement}">
                                                                        <Setter Property="Margin" Value="2"/>
                                                                        <Setter Property="Width" Value="22"/>
                                                                        <Setter Property="Height" Value="22"/>
                                                                        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
                                                                        <Setter Property="HorizontalAlignment" Value="Center"/>
                                                                        <Setter Property="VerticalAlignment" Value="Center"/>
                                                                    </Style>
                                                                </Style.BasedOn>
                                                            </Style>
                                                        </telerik:RadButton.Style>
                                                    </telerik:RadButton>
                                                </StackPanel>
                                            </Grid>
                                        </Border>
                                    </Border>
                                    <telerik:RadTransitionControl x:Name="PART_TranstionControl" Duration="0:0:0.5" Grid.Row="1">
                                        <telerik:RadTransitionControl.Transition>
                                            <telerik:SlideAndZoomTransition LayoutAnimation="Instant" MinAlpha="0.1" MinZoom="1" StartSlideAt="0.25" SlideDirection="LeftToRight"/>
                                        </telerik:RadTransitionControl.Transition>
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="Auto"/>
                                                <ColumnDefinition Width="*"/>
                                                <ColumnDefinition Width="Auto"/>
                                            </Grid.ColumnDefinitions>
                                            <Grid.RowDefinitions>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="*"/>
                                                <RowDefinition Height="Auto"/>
                                            </Grid.RowDefinitions>
                                            <Border x:Name="HeadersHeight" Grid.ColumnSpan="3" Height="{TemplateBinding HeadersLength}"/>
                                            <Border x:Name="HeadersWidth" Grid.RowSpan="3" Width="{TemplateBinding HeadersLength}"/>
                                            <telerik:TimeRulerPanel x:Name="PART_TimeRulerPanel" ClipToBounds="True" Grid.Column="1" Orientation="{TemplateBinding EffectiveOrientation}" Offset="{Binding HorizontalOffset, RelativeSource={RelativeSource TemplatedParent}}" Grid.Row="0"/>
                                            <telerik:AppointmentsPanel x:Name="PART_ItemsHost" Background="Transparent" Grid.ColumnSpan="2" Grid.Column="0" Orientation="{TemplateBinding EffectiveOrientation}" Grid.Row="1" Panel.ZIndex="1"/>
                                            <telerik:LayoutTransformControl Grid.Column="1" FocusVisualStyle="{x:Null}" HorizontalAlignment="Right" IsTabStop="False" Grid.Row="1" Visibility="{TemplateBinding ComputedAppointmentNavigationButtonsVisibility}" VerticalAlignment="Center" Panel.ZIndex="1">
                                                <telerik:LayoutTransformControl.LayoutTransform>
                                                    <RotateTransform Angle="-90"/>
                                                </telerik:LayoutTransformControl.LayoutTransform>
                                                <telerik:RadButton CornerRadius="2,2,0,0" Command="telerik:RadScheduleViewCommands.GoToNextAppointment" FocusVisualStyle="{x:Null}" HorizontalContentAlignment="Stretch" InnerCornerRadius="1,1,0,0">
                                                    <telerik:StyleManager.Theme>
                                                        <telerik:Office_BlackTheme/>
                                                    </telerik:StyleManager.Theme>
                                                    <Grid Width="160">
                                                        <TextBlock HorizontalAlignment="Center" telerik:LocalizationManager.ResourceKey="NextAppointment" Text="Next Appointment" VerticalAlignment="Center"><Run Text="Next Appointment"/></TextBlock>
                                                        <TextBlock FontSize="8" HorizontalAlignment="Right" Margin="8,0" Text="▼" VerticalAlignment="Center"><Run Text="▼"/></TextBlock>
                                                    </Grid>
                                                </telerik:RadButton>
                                            </telerik:LayoutTransformControl>
                                            <telerik:LayoutTransformControl Grid.Column="1" FocusVisualStyle="{x:Null}" HorizontalAlignment="Left" IsTabStop="False" Grid.Row="1" Visibility="{TemplateBinding ComputedAppointmentNavigationButtonsVisibility}" VerticalAlignment="Center" Panel.ZIndex="1">
                                                <telerik:LayoutTransformControl.LayoutTransform>
                                                    <RotateTransform Angle="-90"/>
                                                </telerik:LayoutTransformControl.LayoutTransform>
                                                <telerik:RadButton CornerRadius="0,0,2,2" Command="telerik:RadScheduleViewCommands.GoToPreviousAppointment" FocusVisualStyle="{x:Null}" InnerCornerRadius="0,0,1,1">
                                                    <telerik:StyleManager.Theme>
                                                        <telerik:Office_BlackTheme/>
                                                    </telerik:StyleManager.Theme>
                                                    <Grid Width="160">
                                                        <TextBlock HorizontalAlignment="Center" telerik:LocalizationManager.ResourceKey="PreviousAppointment" Text="Previous Appointment" VerticalAlignment="Center"><Run Text="Previous Appointment"/></TextBlock>
                                                        <TextBlock FontSize="8" HorizontalAlignment="Right" Margin="8,0" Text="▲" VerticalAlignment="Center"><Run Text="▲"/></TextBlock>
                                                    </Grid>
                                                </telerik:RadButton>
                                            </telerik:LayoutTransformControl>
                                            <telerik:TimeRulerLinesPanel x:Name="PART_TimeRulerLinesPanel" Background="Transparent" ClipToBounds="True" Grid.Column="1" Orientation="{TemplateBinding EffectiveOrientation}" PixelLength="{TemplateBinding EffectivePixelLength}" Grid.Row="1"/>
                                            <telerik:HighlightPanel x:Name="PART_HighlightPanel" Background="Transparent" ClipToBounds="True" Grid.Column="1" HorizontalAlignment="Left" IsHitTestVisible="False" Orientation="{TemplateBinding EffectiveOrientation}" PixelLength="{TemplateBinding EffectivePixelLength}" Grid.Row="1" VerticalAlignment="Stretch" Panel.ZIndex="1"/>
                                            <Border x:Name="AppointmentsBorder" BorderBrush="#FFCBCBCB" BorderThickness="1" Grid.Column="1" Grid.Row="1"/>
                                            <Border x:Name="VerticalHeadersBorder" BorderBrush="#FF848484" BorderThickness="0,1" Grid.Column="0" Grid.Row="1" Panel.ZIndex="3"/>
                                            <Border x:Name="HorizontalHeadersBorder" BorderBrush="#FF848484" BorderThickness="1,0" Grid.Column="1" Grid.Row="0" Panel.ZIndex="3"/>
                                            <ScrollBar x:Name="PART_HorizontalScrollBar" Grid.Column="1" LargeChange="{TemplateBinding HorizontalLargeChange}" Maximum="{TemplateBinding ExtentWidth}" Orientation="Horizontal" Grid.Row="2" SmallChange="{TemplateBinding HorizontalSmallChange}" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" ViewportSize="{TemplateBinding ViewportWidth}">
                                                <telerik:StyleManager.Theme>
                                                    <telerik:Office_BlackTheme/>
                                                </telerik:StyleManager.Theme>
                                            </ScrollBar>
                                            <ScrollBar x:Name="PART_VerticalScrollBar" Grid.Column="2" LargeChange="{TemplateBinding VerticalLargeChange}" Maximum="{TemplateBinding ExtentHeight}" Orientation="Vertical" Grid.Row="1" SmallChange="{TemplateBinding VerticalSmallChange}" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" ViewportSize="{TemplateBinding ViewportHeight}">
                                                <telerik:StyleManager.Theme>
                                                    <telerik:Office_BlackTheme/>
                                                </telerik:StyleManager.Theme>
                                            </ScrollBar>
                                            <Grid x:Name="WarningsPanel" Grid.ColumnSpan="3" Grid.Row="0" Grid.RowSpan="3" Panel.ZIndex="2">
                                                <Grid x:Name="ViewDefinitionWarning" Background="White">
                                                    <Grid.Visibility>
                                                        <Binding Mode="TwoWay" Path="ActiveViewDefinition" RelativeSource="{RelativeSource TemplatedParent}">
                                                            <Binding.Converter>
                                                                <telerik:InvertedNullToVisibilityConverter/>
                                                            </Binding.Converter>
                                                        </Binding>
                                                    </Grid.Visibility>
                                                    <TextBlock FontSize="32" HorizontalAlignment="Center" Text="Please select a View definition" VerticalAlignment="Center"><Run Text="Please select a View definition"/></TextBlock>
                                                </Grid>
                                                <Grid x:Name="AppointmentSourceWarning" Background="White">
                                                    <Grid.Visibility>
                                                        <Binding Mode="TwoWay" Path="AppointmentsSource" RelativeSource="{RelativeSource TemplatedParent}">
                                                            <Binding.Converter>
                                                                <telerik:InvertedNullToVisibilityConverter/>
                                                            </Binding.Converter>
                                                        </Binding>
                                                    </Grid.Visibility>
                                                    <TextBlock Foreground="Black" FontSize="32" HorizontalAlignment="Center" Text="Please provide an AppointmentsSource" VerticalAlignment="Center"><Run Text="Please provide an AppointmentsSource"/></TextBlock>
                                                </Grid>
                                            </Grid>
                                        </Grid>
                                    </telerik:RadTransitionControl>
                                </Grid>
                            </Border>
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>
                <Setter Property="GroupHeaderStyleSelector">
                    <Setter.Value>
                        <telerik:OrientedGroupHeaderStyleSelector ResourceStyleSelector="{x:Null}">
                            <telerik:OrientedGroupHeaderStyleSelector.HorizontalTodayStyle>
                                <Style TargetType="{x:Type telerik:GroupHeader}">
                                    <Setter Property="Margin" Value="0,0,-1,0"/>
                                    <Setter Property="Padding" Value="-1,0,0,0"/>
                                    <Setter Property="Panel.ZIndex" Value="-1"/>
                                    <Style.BasedOn>
                                        <Style TargetType="{x:Type telerik:GroupHeader}">
                                            <Setter Property="Foreground" Value="Black"/>
                                            <Setter Property="BorderBrush" Value="#FFCBCBCB"/>
                                            <Setter Property="Background" Value="{x:Null}"/>
                                            <Setter Property="BorderThickness" Value="1"/>
                                            <Setter Property="Panel.ZIndex" Value="-2"/>
                                            <Setter Property="Template">
                                                <Setter.Value>
                                                    <ControlTemplate TargetType="{x:Type telerik:GroupHeader}">
                                                        <Grid>
                                                            <VisualStateManager.VisualStateGroups>
                                                                <VisualStateGroup x:Name="OrientationStates">
                                                                    <VisualState x:Name="Horizontal">
                                                                        <Storyboard>
                                                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="VerticalAlignment" Storyboard.TargetName="Header">
                                                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                                                    <DiscreteObjectKeyFrame.Value>
                                                                                        <VerticalAlignment>Stretch</VerticalAlignment>
                                                                                    </DiscreteObjectKeyFrame.Value>
                                                                                </DiscreteObjectKeyFrame>
                                                                            </ObjectAnimationUsingKeyFrames>
                                                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="HorizontalAlignment" Storyboard.TargetName="Header">
                                                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                                                    <DiscreteObjectKeyFrame.Value>
                                                                                        <HorizontalAlignment>Left</HorizontalAlignment>
                                                                                    </DiscreteObjectKeyFrame.Value>
                                                                                </DiscreteObjectKeyFrame>
                                                                            </ObjectAnimationUsingKeyFrames>
                                                                        </Storyboard>
                                                                    </VisualState>
                                                                    <VisualState x:Name="Vertical"/>
                                                                </VisualStateGroup>
                                                                <VisualStateGroup x:Name="DayStates">
                                                                    <VisualState x:Name="NormalDay"/>
                                                                    <VisualState x:Name="NormalDayHorizontal">
                                                                        <Storyboard>
                                                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="VerticalAlignment" Storyboard.TargetName="Header">
                                                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                                                    <DiscreteObjectKeyFrame.Value>
                                                                                        <VerticalAlignment>Stretch</VerticalAlignment>
                                                                                    </DiscreteObjectKeyFrame.Value>
                                                                                </DiscreteObjectKeyFrame>
                                                                            </ObjectAnimationUsingKeyFrames>
                                                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="HorizontalAlignment" Storyboard.TargetName="Header">
                                                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                                                    <DiscreteObjectKeyFrame.Value>
                                                                                        <HorizontalAlignment>Left</HorizontalAlignment>
                                                                                    </DiscreteObjectKeyFrame.Value>
                                                                                </DiscreteObjectKeyFrame>
                                                                            </ObjectAnimationUsingKeyFrames>
                                                                        </Storyboard>
                                                                    </VisualState>
                                                                    <VisualState x:Name="Today">
                                                                        <Storyboard>
                                                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="Border">
                                                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                                                    <DiscreteObjectKeyFrame.Value>
                                                                                        <SolidColorBrush Color="#FFFFC92B"/>
                                                                                    </DiscreteObjectKeyFrame.Value>
                                                                                </DiscreteObjectKeyFrame>
                                                                            </ObjectAnimationUsingKeyFrames>
                                                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderThickness" Storyboard.TargetName="Border">
                                                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                                                    <DiscreteObjectKeyFrame.Value>
                                                                                        <Thickness>2,0,2,2</Thickness>
                                                                                    </DiscreteObjectKeyFrame.Value>
                                                                                </DiscreteObjectKeyFrame>
                                                                            </ObjectAnimationUsingKeyFrames>
                                                                        </Storyboard>
                                                                    </VisualState>
                                                                    <VisualState x:Name="TodayHorizontal">
                                                                        <Storyboard>
                                                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="VerticalAlignment" Storyboard.TargetName="Header">
                                                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                                                    <DiscreteObjectKeyFrame.Value>
                                                                                        <VerticalAlignment>Stretch</VerticalAlignment>
                                                                                    </DiscreteObjectKeyFrame.Value>
                                                                                </DiscreteObjectKeyFrame>
                                                                            </ObjectAnimationUsingKeyFrames>
                                                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="HorizontalAlignment" Storyboard.TargetName="Header">
                                                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                                                    <DiscreteObjectKeyFrame.Value>
                                                                                        <HorizontalAlignment>Left</HorizontalAlignment>
                                                                                    </DiscreteObjectKeyFrame.Value>
                                                                                </DiscreteObjectKeyFrame>
                                                                            </ObjectAnimationUsingKeyFrames>
                                                                        </Storyboard>
                                                                    </VisualState>
                                                                </VisualStateGroup>
                                                            </VisualStateManager.VisualStateGroups>
                                                            <Border x:Name="Border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" HorizontalAlignment="Stretch" IsHitTestVisible="False" VerticalAlignment="Stretch"/>
                                                            <telerik:GroupHeaderButton x:Name="Header" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" CommandParameter="{TemplateBinding CommandParameter}" Command="{TemplateBinding Command}" Foreground="{TemplateBinding Foreground}" InnerCornerRadius="0" IsToday="{TemplateBinding IsToday}" Orientation="{TemplateBinding Orientation}" VerticalAlignment="Top">
                                                                <telerik:StyleManager.Theme>
                                                                    <telerik:Office_BlackTheme/>
                                                                </telerik:StyleManager.Theme>
                                                            </telerik:GroupHeaderButton>
                                                        </Grid>
                                                    </ControlTemplate>
                                                </Setter.Value>
                                            </Setter>
                                        </Style>
                                    </Style.BasedOn>
                                </Style>
                            </telerik:OrientedGroupHeaderStyleSelector.HorizontalTodayStyle>
                            <telerik:OrientedGroupHeaderStyleSelector.HorizontalStyle>
                                <Style TargetType="{x:Type telerik:GroupHeader}">
                                    <Setter Property="Margin" Value="0,0,-1,0"/>
                                    <Setter Property="Padding" Value="-1,0,0,0"/>
                                    <Setter Property="Panel.ZIndex" Value="-2"/>
                                    <Style.BasedOn>
                                        <Style TargetType="{x:Type telerik:GroupHeader}">
                                            <Setter Property="Foreground" Value="Black"/>
                                            <Setter Property="BorderBrush" Value="#FFCBCBCB"/>
                                            <Setter Property="Background" Value="{x:Null}"/>
                                            <Setter Property="BorderThickness" Value="1"/>
                                            <Setter Property="Panel.ZIndex" Value="-2"/>
                                            <Setter Property="Template">
                                                <Setter.Value>
                                                    <ControlTemplate TargetType="{x:Type telerik:GroupHeader}">
                                                        <Grid>
                                                            <VisualStateManager.VisualStateGroups>
                                                                <VisualStateGroup x:Name="OrientationStates">
                                                                    <VisualState x:Name="Horizontal">
                                                                        <Storyboard>
                                                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="VerticalAlignment" Storyboard.TargetName="Header">
                                                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                                                    <DiscreteObjectKeyFrame.Value>
                                                                                        <VerticalAlignment>Stretch</VerticalAlignment>
                                                                                    </DiscreteObjectKeyFrame.Value>
                                                                                </DiscreteObjectKeyFrame>
                                                                            </ObjectAnimationUsingKeyFrames>
                                                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="HorizontalAlignment" Storyboard.TargetName="Header">
                                                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                                                    <DiscreteObjectKeyFrame.Value>
                                                                                        <HorizontalAlignment>Left</HorizontalAlignment>
                                                                                    </DiscreteObjectKeyFrame.Value>
                                                                                </DiscreteObjectKeyFrame>
                                                                            </ObjectAnimationUsingKeyFrames>
                                                                        </Storyboard>
                                                                    </VisualState>
                                                                    <VisualState x:Name="Vertical"/>
                                                                </VisualStateGroup>
                                                                <VisualStateGroup x:Name="DayStates">
                                                                    <VisualState x:Name="NormalDay"/>
                                                                    <VisualState x:Name="NormalDayHorizontal">
                                                                        <Storyboard>
                                                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="VerticalAlignment" Storyboard.TargetName="Header">
                                                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                                                    <DiscreteObjectKeyFrame.Value>
                                                                                        <VerticalAlignment>Stretch</VerticalAlignment>
                                                                                    </DiscreteObjectKeyFrame.Value>
                                                                                </DiscreteObjectKeyFrame>
                                                                            </ObjectAnimationUsingKeyFrames>
                                                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="HorizontalAlignment" Storyboard.TargetName="Header">
                                                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                                                    <DiscreteObjectKeyFrame.Value>
                                                                                        <HorizontalAlignment>Left</HorizontalAlignment>
                                                                                    </DiscreteObjectKeyFrame.Value>
                                                                                </DiscreteObjectKeyFrame>
                                                                            </ObjectAnimationUsingKeyFrames>
                                                                        </Storyboard>
                                                                    </VisualState>
                                                                    <VisualState x:Name="Today">
                                                                        <Storyboard>
                                                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="Border">
                                                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                                                    <DiscreteObjectKeyFrame.Value>
                                                                                        <SolidColorBrush Color="#FFFFC92B"/>
                                                                                    </DiscreteObjectKeyFrame.Value>
                                                                                </DiscreteObjectKeyFrame>
                                                                            </ObjectAnimationUsingKeyFrames>
                                                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderThickness" Storyboard.TargetName="Border">
                                                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                                                    <DiscreteObjectKeyFrame.Value>
                                                                                        <Thickness>2,0,2,2</Thickness>
                                                                                    </DiscreteObjectKeyFrame.Value>
                                                                                </DiscreteObjectKeyFrame>
                                                                            </ObjectAnimationUsingKeyFrames>
                                                                        </Storyboard>
                                                                    </VisualState>
                                                                    <VisualState x:Name="TodayHorizontal">
                                                                        <Storyboard>
                                                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="VerticalAlignment" Storyboard.TargetName="Header">
                                                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                                                    <DiscreteObjectKeyFrame.Value>
                                                                                        <VerticalAlignment>Stretch</VerticalAlignment>
                                                                                    </DiscreteObjectKeyFrame.Value>
                                                                                </DiscreteObjectKeyFrame>
                                                                            </ObjectAnimationUsingKeyFrames>
                                                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="HorizontalAlignment" Storyboard.TargetName="Header">
                                                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                                                    <DiscreteObjectKeyFrame.Value>
                                                                                        <HorizontalAlignment>Left</HorizontalAlignment>
                                                                                    </DiscreteObjectKeyFrame.Value>
                                                                                </DiscreteObjectKeyFrame>
                                                                            </ObjectAnimationUsingKeyFrames>
                                                                        </Storyboard>
                                                                    </VisualState>
                                                                </VisualStateGroup>
                                                            </VisualStateManager.VisualStateGroups>
                                                            <Border x:Name="Border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" HorizontalAlignment="Stretch" IsHitTestVisible="False" VerticalAlignment="Stretch"/>
                                                            <telerik:GroupHeaderButton x:Name="Header" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" CommandParameter="{TemplateBinding CommandParameter}" Command="{TemplateBinding Command}" Foreground="{TemplateBinding Foreground}" InnerCornerRadius="0" IsToday="{TemplateBinding IsToday}" Orientation="{TemplateBinding Orientation}" VerticalAlignment="Top">
                                                                <telerik:StyleManager.Theme>
                                                                    <telerik:Office_BlackTheme/>
                                                                </telerik:StyleManager.Theme>
                                                            </telerik:GroupHeaderButton>
                                                        </Grid>
                                                    </ControlTemplate>
                                                </Setter.Value>
                                            </Setter>
                                        </Style>
                                    </Style.BasedOn>
                                </Style>
                            </telerik:OrientedGroupHeaderStyleSelector.HorizontalStyle>
                            <telerik:OrientedGroupHeaderStyleSelector.HorizontalTodayBottomLevelStyle>
                                <Style TargetType="{x:Type telerik:GroupHeader}">
                                    <Setter Property="Margin" Value="0,0,-1,0"/>
                                    <Setter Property="Padding" Value="1,0,5,0"/>
                                    <Setter Property="Panel.ZIndex" Value="-1"/>
                                    <Setter Property="Foreground" Value="Black"/>
                                    <Style.BasedOn>
                                        <Style TargetType="{x:Type telerik:GroupHeader}">
                                            <Setter Property="Foreground" Value="Black"/>
                                            <Setter Property="BorderBrush" Value="#FFCBCBCB"/>
                                            <Setter Property="Background" Value="{x:Null}"/>
                                            <Setter Property="BorderThickness" Value="1"/>
                                            <Setter Property="Panel.ZIndex" Value="-2"/>
                                            <Setter Property="Template">
                                                <Setter.Value>
                                                    <ControlTemplate TargetType="{x:Type telerik:GroupHeader}">
                                                        <Grid>
                                                            <VisualStateManager.VisualStateGroups>
                                                                <VisualStateGroup x:Name="OrientationStates">
                                                                    <VisualState x:Name="Horizontal">
                                                                        <Storyboard>
                                                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="VerticalAlignment" Storyboard.TargetName="Header">
                                                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                                                    <DiscreteObjectKeyFrame.Value>
                                                                                        <VerticalAlignment>Stretch</VerticalAlignment>
                                                                                    </DiscreteObjectKeyFrame.Value>
                                                                                </DiscreteObjectKeyFrame>
                                                                            </ObjectAnimationUsingKeyFrames>
                                                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="HorizontalAlignment" Storyboard.TargetName="Header">
                                                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                                                    <DiscreteObjectKeyFrame.Value>
                                                                                        <HorizontalAlignment>Left</HorizontalAlignment>
                                                                                    </DiscreteObjectKeyFrame.Value>
                                                                                </DiscreteObjectKeyFrame>
                                                                            </ObjectAnimationUsingKeyFrames>
                                                                        </Storyboard>
                                                                    </VisualState>
                                                                    <VisualState x:Name="Vertical"/>
                                                                </VisualStateGroup>
                                                                <VisualStateGroup x:Name="DayStates">
                                                                    <VisualState x:Name="NormalDay"/>
                                                                    <VisualState x:Name="NormalDayHorizontal">
                                                                        <Storyboard>
                                                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="VerticalAlignment" Storyboard.TargetName="Header">
                                                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                                                    <DiscreteObjectKeyFrame.Value>
                                                                                        <VerticalAlignment>Stretch</VerticalAlignment>
                                                                                    </DiscreteObjectKeyFrame.Value>
                                                                                </DiscreteObjectKeyFrame>
                                                                            </ObjectAnimationUsingKeyFrames>
                                                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="HorizontalAlignment" Storyboard.TargetName="Header">
                                                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                                                    <DiscreteObjectKeyFrame.Value>
                                                                                        <HorizontalAlignment>Left</HorizontalAlignment>
                                                                                    </DiscreteObjectKeyFrame.Value>
                                                                                </DiscreteObjectKeyFrame>
                                                                            </ObjectAnimationUsingKeyFrames>
                                                                        </Storyboard>
                                                                    </VisualState>
                                                                    <VisualState x:Name="Today">
                                                                        <Storyboard>
                                                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="Border">
                                                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                                                    <DiscreteObjectKeyFrame.Value>
                                                                                        <SolidColorBrush Color="#FFFFC92B"/>
                                                                                    </DiscreteObjectKeyFrame.Value>
                                                                                </DiscreteObjectKeyFrame>
                                                                            </ObjectAnimationUsingKeyFrames>
                                                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderThickness" Storyboard.TargetName="Border">
                                                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                                                    <DiscreteObjectKeyFrame.Value>
                                                                                        <Thickness>2,0,2,2</Thickness>
                                                                                    </DiscreteObjectKeyFrame.Value>
                                                                                </DiscreteObjectKeyFrame>
                                                                            </ObjectAnimationUsingKeyFrames>
                                                                        </Storyboard>
                                                                    </VisualState>
                                                                    <VisualState x:Name="TodayHorizontal">
                                                                        <Storyboard>
                                                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="VerticalAlignment" Storyboard.TargetName="Header">
                                                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                                                    <DiscreteObjectKeyFrame.Value>
                                                                                        <VerticalAlignment>Stretch</VerticalAlignment>
                                                                                    </DiscreteObjectKeyFrame.Value>
                                                                                </DiscreteObjectKeyFrame>
                                                                            </ObjectAnimationUsingKeyFrames>
                                                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="HorizontalAlignment" Storyboard.TargetName="Header">
                                                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                                                    <DiscreteObjectKeyFrame.Value>
                                                                                        <HorizontalAlignment>Left</HorizontalAlignment>
                                                                                    </DiscreteObjectKeyFrame.Value>
                                                                                </DiscreteObjectKeyFrame>
                                                                            </ObjectAnimationUsingKeyFrames>
                                                                        </Storyboard>
                                                                    </VisualState>
                                                                </VisualStateGroup>