<ResourceDictionary
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        xmlns:c="http://schemas.telerik.com/2008/xaml/compile"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="c"
        xmlns:gantt="clr-namespace:Telerik.Windows.Controls.GanttView;assembly=Telerik.Windows.Controls.GanttView"
        xmlns:gantt1="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GanttView"
        xmlns:scheduling="clr-namespace:Telerik.Windows.Controls.Scheduling;assembly=Telerik.Windows.Scheduling.Core">
    <ResourceDictionary.MergedDictionaries>
        <telerik:Windows8ResourceDictionary/>
    </ResourceDictionary.MergedDictionaries>
    <telerik:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
    <telerik:InvertedBooleanToVisibilityConverter x:Key="InvertedBooleanToVisibilityConverter"/>
    <gantt1:DateTimeToCurrentUICultureStringConverter x:Key="DateTimeToCurrentUICultureStringConverter"/>
    <telerik:DragDropBooleanToVisibilityConverter x:Key="DragDropBooleanToVisibilityConverter"/>
    <SolidColorBrush x:Key="DragandDropBorderBrush" Color="#3F000000"/>
    <SolidColorBrush x:Key="OnTimeFill" Color="#FFFFFFFF"/>
    <SolidColorBrush x:Key="GanttView_BorderBrush" Color="Transparent"/>
    <SolidColorBrush x:Key="GroupContainer_OuterBorderBrush_Selected" Color="Transparent"/>
    <SolidColorBrush x:Key="EventBackground_Highlighted" Color="#FFE22F07"/>
    <SolidColorBrush x:Key="SummaryBackground_Normal" Color="#FF8CC221"/>
    <SolidColorBrush x:Key="SummaryBackground_MouseOver" Color="#FFD8E404"/>
    <SolidColorBrush x:Key="SummaryBackground_Selected" Color="#FF4F9205"/>
    <SolidColorBrush x:Key="SummaryBackground_Highlighted" Color="#FFE22F07"/>
    <SolidColorBrush x:Key="SummaryBackground_DragResize" Color="#E5D8E404"/>
    <SolidColorBrush x:Key="MilestoneFill_Normal" Color="#FFDE52B4"/>
    <SolidColorBrush x:Key="MilestoneFill_MouseOver" Color="#FFEE9DD8"/>
    <SolidColorBrush x:Key="MilestoneFill_Selected" Color="#FFA6299D"/>
    <SolidColorBrush x:Key="MilestoneFill_Highlighted" Color="#FFE22F07"/>
    <SolidColorBrush x:Key="MilestoneStroke_Normal" Color="Transparent"/>
    <SolidColorBrush x:Key="MilestoneStroke_Selected" Color="Transparent"/>
    <SolidColorBrush x:Key="CellHighlightContainerBackground" Color="Transparent"/>
    <SolidColorBrush x:Key="CellContainerBorder_Highlighted" Color="#FFABAAAA"/>
    <SolidColorBrush x:Key="CellEditingBackground" Color="Transparent"/>
    <SolidColorBrush x:Key="RelationContainerBorderBrush_Highlighted" Color="#FFE22F07"/>
    <SolidColorBrush x:Key="RelationContainerBorderBrush_MouseOver" Color="#FF474747"/>
    <SolidColorBrush x:Key="MinorTickBackground" Color="Transparent"/>
    <SolidColorBrush x:Key="BorderContainer_BorderBrush" Color="Transparent"/>
    <SolidColorBrush x:Key="BorderContainer_Background" Color="Transparent"/>
    <CornerRadius x:Key="GanttDragVisualCue_CornerRadius">0</CornerRadius>
    <SolidColorBrush x:Key="GanttView_DependenciesIndicator_DragOver" Color="#FFDC797C"/>
    <SolidColorBrush x:Key="GanttView_DependenciesIndicator_MouseOver" Color="#FFBEE2F4"/>
    <SolidColorBrush x:Key="TransparentBrush" Color="#01FFFFFF"/>
    <SolidColorBrush x:Key="BorderPresenterHeaderSplitter_BorderBrush" Color="Transparent"/>
    <SolidColorBrush x:Key="OnTimeBrush" Color="#FF309B46"/>
    <SolidColorBrush x:Key="DeadlineBrush" Color="#FFFF0000"/>
    <SolidColorBrush x:Key="DeadlineFill" Color="#FFE22F07"/>
    <DataTemplate x:Key="GanttDragResizeVisualCueTemplate">
        <Grid Margin="{Binding Margin, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=gantt:GanttDragResizeVisualCue}}">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="*" MinWidth="140"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <TextBlock Text="{Binding TargetItem.Title}" Grid.ColumnSpan="2"/>
            <TextBlock telerik:LocalizationManager.ResourceKey="Start" Grid.Row="1" Margin="0 0 3 0"/>
            <TextBlock Text="{Binding DestinationSlot.Start, Converter={StaticResource DateTimeToCurrentUICultureStringConverter}}" Grid.Row="1" Grid.Column="1" FontWeight="Normal"/>
            <TextBlock telerik:LocalizationManager.ResourceKey="End" Grid.Row="2" Margin="0 0 3 0"/>
            <TextBlock Text="{Binding DestinationSlot.End, Converter={StaticResource DateTimeToCurrentUICultureStringConverter}}" Grid.Row="2" Grid.Column="1" FontWeight="Normal"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="GanttCreateDependencyTemplate">
        <Grid Margin="{Binding Margin, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=gantt:GanttDragResizeVisualCue}}">
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <StackPanel Orientation="Horizontal">
                <TextBlock telerik:LocalizationManager.ResourceKey="DrawRelationFrom"/>
                <TextBlock Text="{Binding DestinationSlot.Source.Title}" FontWeight="Bold"/>
            </StackPanel>
            <StackPanel Grid.Row="1" Orientation="Horizontal">
                <TextBlock telerik:LocalizationManager.ResourceKey="DrawRelationTo"/>
                <TextBlock Text="{Binding DestinationSlot.Target.Title}" FontWeight="Bold"/>
            </StackPanel>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="GanttDragReorderTemplate">
        <Grid Margin="{Binding Margin, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=gantt:GanttDragResizeVisualCue}}">
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
                <TextBlock telerik:LocalizationManager.ResourceKey="DraggingItem"/>
                <TextBlock Text="{Binding TargetItem.Title}" FontWeight="Bold"/>
            </StackPanel>
            <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Left">
                <Path
                        Data="M6,2.9 L11,2.9 L11,3.9 L6,3.9 z M4.0,4.9 L13,4.9 L13,5.9 L4.0,5.9 z M6.0,6.9 L11,6.9 L11,7.9 L6.0,7.9 z M4,3.4 L0,7 L0,0 z"
                        Height="8"
                        Stretch="Fill"
                        VerticalAlignment="Center"
                        Margin="0 0 5 0"
                        HorizontalAlignment="Left"
                        Visibility="{Binding DestinationSlot.DropPosition, Converter={StaticResource DragDropBooleanToVisibilityConverter}, ConverterParameter=Before}"
                        Fill="{telerik:Windows8Resource ResourceKey=MarkerBrush}"/>
                <Path
                        Data="M2,4 L7,4 L7,5 L2,5 z M0,2 L9,2 L9,3 L0,3 z M13,1.0 L13,8.0 L9,4.4 z M2,0 L7,0 L7,1 L2,1 z"
                        HorizontalAlignment="Left"
                        Height="8"
                        Stretch="Fill"
                        VerticalAlignment="Center"
                        Margin="0 0 5 0"
                        Visibility="{Binding DestinationSlot.DropPosition, Converter={StaticResource DragDropBooleanToVisibilityConverter}, ConverterParameter=After}"
                        Fill="{telerik:Windows8Resource ResourceKey=MarkerBrush}"/>
                <Path
                        Data="M3,0 L5,0 L5,3 L8,3 L8,5 L5,5 L5,8 L3,8 L3,5 L0,5 L0,3 L3,3 z"
                        Margin="0 0 5 0"
                        Height="8"
                        Stretch="Fill"
                        VerticalAlignment="Center"
                        Width="8"
                        HorizontalAlignment="Left"
                        Visibility="{Binding DestinationSlot.DropPosition, Converter={StaticResource DragDropBooleanToVisibilityConverter}, ConverterParameter=Inside}"
                        Fill="{telerik:Windows8Resource ResourceKey=MarkerBrush}"/>
                <TextBlock Text="{Binding DestinationSlot.DropPosition}"/>
                <TextBlock Text=":" Margin="0 0 4 0"/>
                <TextBlock Text="{Binding DestinationSlot.GroupKey.Title}" FontWeight="Bold"/>
            </StackPanel>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="DragRelationTooltipTemplate">
        <StackPanel Orientation="Horizontal">
            <TextBlock telerik:LocalizationManager.ResourceKey="RelationToolTip" TextWrapping="NoWrap" TextTrimming="None"/>
        </StackPanel>
    </DataTemplate>
    <ControlTemplate x:Key="GanttPresenterSplitterTemplate" TargetType="telerik:ResizeControl">
        <Grid x:Name="Root" IsHitTestVisible="{TemplateBinding IsEnabled}">
            <VisualStateManager.VisualStateGroups>
                <VisualStateGroup x:Name="CommonStates">
                    <VisualState x:Name="Normal"/>
                    <VisualState x:Name="MouseOver"/>
                    <VisualState x:Name="Disabled"/>
                </VisualStateGroup>
                <VisualStateGroup x:Name="FocusStates">
                    <VisualState x:Name="Unfocused"/>
                    <VisualState x:Name="Focused">
                        <Storyboard>
                            <DoubleAnimation Duration="0" Storyboard.TargetName="FocusedVisual" Storyboard.TargetProperty="Opacity" To="0.5"/>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>
            <Border
                    Width="{TemplateBinding Width}"
                    VerticalAlignment="{TemplateBinding VerticalAlignment}"
                    HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
                    Background="{TemplateBinding Background}"
                    BorderBrush="{TemplateBinding BorderBrush}"
                    BorderThickness="{TemplateBinding BorderThickness}"/>
            <Rectangle x:Name="FocusedVisual" Fill="{telerik:Windows8Resource ResourceKey=BasicBrush}" StrokeThickness="0" Margin="0 0 -1 0" Opacity="0"/>
            <Rectangle x:Name="PART_PreviewControl"
                    VerticalAlignment="Stretch"
                    HorizontalAlignment="Stretch"
                    Fill="{telerik:Windows8Resource ResourceKey=BasicBrush}"
                    Opacity="0.5"
                    Visibility="Collapsed"/>
        </Grid>
    </ControlTemplate>
    <Style x:Key="GanttPresenterSplitterStyle" TargetType="telerik:ResizeControl">
        <Setter Property="Background" Value="{telerik:Windows8Resource ResourceKey=MainBrush}"/>
        <Setter Property="IsTabStop" Value="True"/>
        <Setter Property="HorizontalAlignment" Value="Right"/>
        <Setter Property="VerticalAlignment" Value="Stretch"/>
        <Setter Property="scheduling:ZIndexManager.ZIndex" Value="100"/>
        <Setter Property="ShowsPreview" Value="True"/>
        <Setter Property="BorderThickness" Value="0 0 1 0"/>
        <Setter Property="BorderBrush" Value="{x:Null}"/>
        <Setter Property="Width" Value="4"/>
        <Setter Property="Template" Value="{StaticResource GanttPresenterSplitterTemplate}"/>
    </Style>
    <Style x:Key="GanttPresenterHeaderSplitterStyle" TargetType="telerik:ResizeControl" BasedOn="{StaticResource GanttPresenterSplitterStyle}">
        <Setter Property="Width" Value="6"/>
        <Setter Property="Background" Value="{StaticResource TransparentBrush}"/>
        <Setter Property="BorderBrush" Value="{StaticResource BorderPresenterHeaderSplitter_BorderBrush}"/>
        <Setter Property="scheduling:ZIndexManager.ZIndex" Value="100"/>
    </Style>
    <ControlTemplate x:Key="GanttItemsPresenterTemplate" TargetType="gantt:GanttItemsPresenter">
        <telerik:GanttPresenterPanel>
            <telerik:GanttPresenterPanel.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="*" MinWidth="3"/>
                <ColumnDefinition Width="3*"/>
                <ColumnDefinition Width="Auto"/>
            </telerik:GanttPresenterPanel.ColumnDefinitions>
            <telerik:TreeRenderingPanel x:Name="FrozenColumnsPanel"
                    Orientation="Horizontal"
                    telerik:GanttPresenterPanel.Column="0"
                    telerik:GanttPresenterPanel.Area="Header"
                    Margin="4 0 0 0"
                    HorizontalAlignment="Stretch"
                    VerticalAlignment="Stretch"/>
            <telerik:VirtualizedGridPanel x:Name="FrozenCellsPanel"
                    HorizontalAlignment="Stretch"
                    VerticalAlignment="Top"
                    Margin="4 0 0 0"
                    telerik:GanttPresenterPanel.Column="0"
                    telerik:GanttPresenterPanel.Area="Content"/>
            <telerik:TreeRenderingPanel x:Name="ColumnsPanel"
                    Orientation="Horizontal"
                    telerik:GanttPresenterPanel.Column="1"
                    telerik:GanttPresenterPanel.Area="Header"
                    HorizontalAlignment="Left"
                    VerticalAlignment="Stretch"
                    Margin="-1 0 4 0"/>
            <telerik:VirtualizedGridPanel x:Name="CellsPanel"
                    telerik:GanttPresenterPanel.Column="1"
                    telerik:GanttPresenterPanel.Area="Content"
                    Margin="-1 0 4 0"
                    HorizontalAlignment="Left"
                    VerticalAlignment="Top"
                    VerticalOffset="{Binding VerticalOffset, ElementName=FrozenCellsPanel, Mode=TwoWay}"
                    HorizontalOffset="{Binding HorizontalOffset, ElementName=ColumnsPanel, Mode=TwoWay}"/>
            <ScrollBar
                    telerik:GanttPresenterPanel.Column="1"
                    telerik:GanttPresenterPanel.Area="ScrollBar"
                    Orientation="Horizontal"
                    Minimum="0"
                    Maximum="{Binding ExtentWidth, ElementName=ColumnsPanel}"
                    Value="{Binding HorizontalOffset, ElementName=ColumnsPanel, Mode=TwoWay}"
                    ViewportSize="{Binding ViewportWidth, ElementName=ColumnsPanel}"
                    SmallChange="40"
                    LargeChange="{Binding ViewportWidth, ElementName=ColumnsPanel}"
                    Visibility="{Binding CalculatedHorizontalScrollBarVisibility, ElementName=ColumnsPanel}"/>
            <telerik:ResizeControl telerik:GanttPresenterPanel.Column="1" telerik:GanttPresenterPanel.Area="Splitter" Style="{StaticResource GanttPresenterSplitterStyle}"/>
            <telerik:LogicalCanvasPanel x:Name="TimeRulerPanel"
                    telerik:GanttPresenterPanel.Column="2"
                    telerik:GanttPresenterPanel.Area="Header"
                    VerticalAlignment="Bottom"
                    HorizontalAlignment="Left"
                    HorizontalOffset="{Binding HorizontalOffset, ElementName=EventsPanel, Mode=TwoWay}"/>
            <telerik:LogicalCanvasPanel x:Name="EventsPanel"
                    telerik:GanttPresenterPanel.Column="2"
                    telerik:GanttPresenterPanel.Area="Content"
                    VerticalOffset="{Binding VerticalOffset, ElementName=CellsPanel, Mode=TwoWay}"
                    Background="Transparent"
                    VerticalAlignment="Top"
                    HorizontalAlignment="Left"/>
            <ScrollBar
                    telerik:GanttPresenterPanel.Column="2"
                    telerik:GanttPresenterPanel.Area="ScrollBar"
                    Orientation="Horizontal"
                    Minimum="0"
                    Maximum="{Binding ExtentWidth, ElementName=EventsPanel}"
                    Value="{Binding HorizontalOffset, ElementName=EventsPanel, Mode=TwoWay}"
                    ViewportSize="{Binding ViewportWidth, ElementName=EventsPanel}"
                    SmallChange="20"
                    LargeChange="{Binding ViewportWidth, ElementName=EventsPanel}"
                    Visibility="{Binding CalculatedHorizontalScrollBarVisibility, ElementName=EventsPanel}"/>
            <ScrollBar
                    telerik:GanttPresenterPanel.Column="3"
                    telerik:GanttPresenterPanel.Area="Content"
                    Orientation="Vertical"
                    Minimum="0"
                    Maximum="{Binding ExtentHeight, ElementName=CellsPanel}"
                    Value="{Binding VerticalOffset, ElementName=CellsPanel, Mode=TwoWay}"
                    ViewportSize="{Binding ViewportHeight, ElementName=CellsPanel}"
                    Visibility="{Binding CalculatedVerticalScrollBarVisibility, ElementName=CellsPanel}"
                    SmallChange="10"
                    LargeChange="{Binding ViewportHeight, ElementName=CellsPanel}"/>
        </telerik:GanttPresenterPanel>
    </ControlTemplate>
    <Style x:Key="GanttItemsPresenterStyle" TargetType="gantt:GanttItemsPresenter">
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="Template" Value="{StaticResource GanttItemsPresenterTemplate}"/>
    </Style>
    <ControlTemplate x:Key="GanttDragResizeVisualCueControlTemplate" TargetType="gantt:GanttDragResizeVisualCue">
        <Grid>
            <VisualStateManager.VisualStateGroups>
                <VisualStateGroup x:Name="EffectStates">
                    <VisualState x:Name="None">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="NoneEffect" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Move"/>
                    <VisualState x:Name="Copy">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="CopyEffect" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Link">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="LinkEffect" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Scroll">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ScrollEffect" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>
            <Grid Margin="0 0 4 4">
                <Border
                        Padding="{TemplateBinding BorderThickness}"
                        BorderBrush="{StaticResource DragandDropBorderBrush}"
                        BorderThickness="{TemplateBinding BorderThickness}"
                        CornerRadius="{StaticResource GanttDragVisualCue_CornerRadius}"
                        Background="{TemplateBinding Background}"
                        Opacity="0.9"/>
                <Grid Margin="{TemplateBinding Padding}">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>
                    <Path x:Name="NoneEffect"
                            Visibility="Collapsed"
                            Margin="0 2 3 3"
                            Width="10"
                            Height="10"
                            HorizontalAlignment="Left"
                            VerticalAlignment="Top"
                            Data="M2,8 L8,2 M9,5 C9,7.2 7.2,9 5,9 C2.7,9 1,7 1,5 C1,2.8 2.8,1 5,1 C7.2,1 9,2.8 9,5 z"
                            Stroke="{telerik:Windows8Resource ResourceKey=StrongBrush}"
                            StrokeThickness="2"/>
                    <Path x:Name="CopyEffect"
                            Visibility="Collapsed"
                            Margin="0 3 3 3"
                            Width="10"
                            Height="10"
                            HorizontalAlignment="Left"
                            VerticalAlignment="Top"
                            Data="M5,1 L5,9 M1,5 L9,5"
                            Stroke="{telerik:Windows8Resource ResourceKey=StrongBrush}"
                            StrokeThickness="2"/>
                    <Path x:Name="LinkEffect"
                            HorizontalAlignment="Left"
                            VerticalAlignment="Top"
                            Margin="4 1 3 3"
                            RenderTransformOrigin="0.51380460803998,0.331995316624905"
                            Stretch="Fill"
                            UseLayoutRounding="False"
                            Width="6"
                            Height="13"
                            Fill="{telerik:Windows8Resource ResourceKey=StrongBrush}"
                            Visibility="Collapsed"
                            Data="M3.4836135,5.0604753 C3.7849054,5.0604753 4.0089135,5.0552769 4.5231185,5.2057066 C5.037324,5.3561373 4.6583242,6.7946892 4.5809951,6.9490814 C3.9298837,6.6861358 3.2932413,6.7968502 2.8269851,6.8953462 L2.7284722,6.9462714 C2.1446736,7.3051605 1.7418106,8.067234 1.7418106,8.9493532 L1.7418106,11.171571 C1.7418106,12.398868 2.5216441,13.393788 3.4836173,13.393788 C4.445591,13.393788 5.1383328,12.471526 5.2065239,10.384115 C5.2065239,10.384115 7.0000005,9.4663544 7.0000005,9.4663544 L6.967227,11.727127 C6.967227,13.568072 5.4075603,15.060453 3.4836135,15.060453 C1.5596671,15.060453 8.9406967E-08,13.568072 0,11.727127 L0,8.3938007 C8.9406967E-08,6.552856 1.5596671,5.0604753 3.4836135,5.0604753 z M3.7422655,0 C5.6512299,3.7754127E-08 7.1987519,1.492381 7.1987519,3.3333261 L7.1987519,6.6666522 C7.1987519,8.507597 5.6512299,9.9999781 3.7422655,9.9999781 C3.4433198,9.9999781 3.221056,10.005177 2.710855,9.8547468 C2.200654,9.7043161 2.5767024,8.2657642 2.653429,8.111372 C3.2994704,8.3743172 3.9311552,8.2636032 4.3937807,8.1651077 L4.4915266,8.1141825 C5.0707788,7.7552929 5.4705048,6.9932199 5.4705048,6.1111002 L5.4705048,3.8888824 C5.4705048,2.6615856 4.692625,1.5812463 3.7422616,1.666665 C2.410862,1.7863312 1.9984226,2.9019992 2.0327713,4.4604034 C2.0327716,4.4604034 0.1987519,5.925045 0.19875199,5.925045 L0.28577891,3.3333261 C0.28577882,1.492381 1.8333006,3.7754127E-08 3.7422655,0 z">
                        <Path.RenderTransform>
                            <TransformGroup>
                                <RotateTransform Angle="45"/>
                                <TranslateTransform X="-0.014644301792467118" Y="0.035355080487484258"/>
                            </TransformGroup>
                        </Path.RenderTransform>
                    </Path>
                    <Path x:Name="ScrollEffect"
                            Visibility="Collapsed"
                            Margin="0 4 3 3"
                            Width="10"
                            Height="12"
                            HorizontalAlignment="Left"
                            VerticalAlignment="Top"
                            Data="M0,5 L5,0 10,5Z M0,7 L5,12 10,7Z"
                            Fill="{telerik:Windows8Resource ResourceKey=StrongBrush}"/>
                    <ContentControl x:Name="Content"
                            Grid.Column="1"
                            Foreground="{TemplateBinding Foreground}"
                            Margin="2 -1 0 0"
                            Content="{TemplateBinding Content}"
                            ContentTemplate="{TemplateBinding ContentTemplate}"
                            HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                            VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                            Opacity="0.9"/>
                </Grid>
            </Grid>
        </Grid>
    </ControlTemplate>
    <Style x:Key="GanttDragResizeVisualCueStyle" TargetType="gantt:GanttDragResizeVisualCue">
        <Setter Property="Margin" Value="0"/>
        <Setter Property="Padding" Value="4 3"/>
        <Setter Property="FontSize" Value="{telerik:Windows8Resource ResourceKey=FontSize}"/>
        <Setter Property="FontFamily" Value="{telerik:Windows8Resource ResourceKey=FontFamily}"/>
        <Setter Property="Foreground" Value="{telerik:Windows8Resource ResourceKey=MarkerBrush}"/>
        <Setter Property="BorderBrush" Value="{telerik:Windows8Resource ResourceKey=MarkerBrush}"/>
        <Setter Property="Background" Value="{telerik:Windows8Resource ResourceKey=BasicBrush}"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="HorizontalContentAlignment" Value="Left"/>
        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
        <Setter Property="CueTemplateSelector">
            <Setter.Value>
                <gantt:GanttDragVisualCueContentTemplateSelector
                        DragTemplate="{StaticResource GanttDragResizeVisualCueTemplate}"
                        ResizeTemplate="{StaticResource GanttDragResizeVisualCueTemplate}"
                        CreateDependencyTemplate="{StaticResource GanttCreateDependencyTemplate}"
                        DragReorderTemplate="{StaticResource GanttDragReorderTemplate}"/>
            </Setter.Value>
        </Setter>
        <Setter Property="Template" Value="{StaticResource GanttDragResizeVisualCueControlTemplate}"/>
    </Style>
    <Style x:Key="RadGanttViewStyle" TargetType="gantt1:RadGanttView">
        <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="00:00:00.01"/>
        <Setter Property="UseLayoutRounding" Value="True"/>
        <Setter Property="Background" Value="{telerik:Windows8Resource ResourceKey=MainBrush}"/>
        <Setter Property="BorderBrush" Value="{StaticResource GanttView_BorderBrush}"/>
        <Setter Property="GapBetweenRows" Value="0"/>
        <Setter Property="GapBetweenColumns" Value="0"/>
        <Setter Property="FontFamily" Value="{telerik:Windows8Resource ResourceKey=FontFamily}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gantt1:RadGanttView">
                    <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}">
                        <gantt:GanttItemsPresenter x:Name="ItemsPresenter" Margin="{TemplateBinding Padding}"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="DropReorderHighlightContainerStyle" TargetType="gantt:DropReorderHighlightContainer">
        <Setter Property="Height" Value="8"/>
        <Setter Property="Margin" Value="0 -4"/>
        <Setter Property="IsHitTestVisible" Value="False"/>
        <Setter Property="scheduling:ZIndexManager.ZIndex" Value="105"/>
        <Setter Property="SnapsToDevicePixels" Value="True"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gantt:DropReorderHighlightContainer">
                    <Grid>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="Doted">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="DotedElement" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="*"/>
                        </Grid.ColumnDefinitions>
                        <Ellipse x:Name="DotedElement"
                                Visibility="Collapsed"
                                Stroke="{telerik:Windows8Resource ResourceKey=AccentBrush}"
                                Fill="{telerik:Windows8Resource ResourceKey=MainBrush}"
                                StrokeThickness="2"
                                HorizontalAlignment="Left"
                                VerticalAlignment="Center"
                                Width="8"
                                Height="8"/>
                        <Rectangle
                                Grid.Column="1"
                                Fill="{telerik:Windows8Resource ResourceKey=AccentBrush}"
                                Margin="-2 0 0 0"
                                RadiusX="2"
                                RadiusY="2"
                                Height="2"
                                VerticalAlignment="Center"
                                HorizontalAlignment="Stretch"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="DragResizeSlotHighlightContainerStyle" TargetType="gantt:DragResizeSlotHighlightContainer">
        <Setter Property="IsHitTestVisible" Value="False"/>
        <Setter Property="Foreground" Value="{telerik:Windows8Resource ResourceKey=MainBrush}"/>
        <Setter Property="Background" Value="{telerik:Windows8Resource ResourceKey=AccentBrush}"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="scheduling:ZIndexManager.ZIndex" Value="70"/>
        <Setter Property="Padding" Value="5 0"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="MinHeight" Value="17"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gantt:DragResizeSlotHighlightContainer">
                    <Grid>
                        <Border Background="{TemplateBinding Background}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Opacity="0.7"/>
                        <Border Background="{telerik:Windows8Resource ResourceKey=BasicBrush}" Opacity="0.3" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="DragResizeMilestoneSlotHighlightContainerStyle" TargetType="gantt:DragResizeMilestoneSlotHighlightContainer">
        <Setter Property="Margin" Value="-7 0"/>
        <Setter Property="Width" Value="10"/>
        <Setter Property="Height" Value="10"/>
        <Setter Property="Background" Value="{StaticResource MilestoneFill_Selected}"/>
        <Setter Property="BorderBrush" Value="{StaticResource MilestoneStroke_Selected}"/>
        <Setter Property="IsHitTestVisible" Value="False"/>
        <Setter Property="telerik:TouchManager.DragStartTrigger" Value="TouchMove"/>
        <Setter Property="HorizontalContentAlignment" Value="Left"/>
        <Setter Property="VerticalContentAlignment" Value="Top"/>
        <Setter Property="scheduling:ZIndexManager.ZIndex" Value="45"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gantt:DragResizeMilestoneSlotHighlightContainer">
                    <Grid RenderTransformOrigin="0.5,0.5">
                        <Grid.RenderTransform>
                            <RotateTransform Angle="45"/>
                        </Grid.RenderTransform>
                        <Rectangle Fill="{TemplateBinding Background}" Width="{TemplateBinding Width}" Height="{TemplateBinding Height}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="1"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="DragResizeSummarySlotHighlightContainerStyle" TargetType="gantt:DragResizeSummarySlotHighlightContainer">
        <Setter Property="IsHitTestVisible" Value="False"/>
        <Setter Property="VerticalAlignment" Value="Stretch"/>
        <Setter Property="Background" Value="{StaticResource SummaryBackground_DragResize}"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="Margin" Value="-4 0"/>
        <Setter Property="Opacity" Value="0.6"/>
        <Setter Property="scheduling:ZIndexManager.ZIndex" Value="45"/>
        <Setter Property="Foreground" Value="{telerik:Windows8Resource ResourceKey=MarkerBrush}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gantt:DragResizeSummarySlotHighlightContainer">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition/>
                            <ColumnDefinition Width="Auto"/>
                        </Grid.ColumnDefinitions>
                        <Path x:Name="LeftMarker" Data="M0,0 L9,0 L4.5,4 z" Stretch="Fill" Fill="{TemplateBinding Background}" Width="9" Height="4" Margin="0 0 0 -9" HorizontalAlignment="Left"/>
                        <Border x:Name="BackgroundBorder" Grid.ColumnSpan="3" Height="6" Background="{TemplateBinding Background}"/>
                        <Path x:Name="RightMarker"
                                Data="M0,0 L9,0 L4.5,4 z"
                                Grid.Column="2"
                                Stretch="Fill"
                                Fill="{TemplateBinding Background}"
                                Width="9"
                                Height="4"
                                Margin="0 0 0 -9"
                                HorizontalAlignment="Right"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <ControlTemplate x:Key="RelationContainerTemplate" TargetType="gantt:RelationContainer">
        <Grid Background="{TemplateBinding Background}">
            <VisualStateManager.VisualStateGroups>
                <VisualStateGroup x:Name="CommonStates">
                    <VisualState x:Name="Normal"/>
                    <VisualState x:Name="MouseOver">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="ArrowPath" Storyboard.TargetProperty="Stroke">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource RelationContainerBorderBrush_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="EndArrow" Storyboard.TargetProperty="Fill">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource RelationContainerBorderBrush_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="HighlightArrowPath" Storyboard.TargetProperty="Stroke">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource RelationContainerBorderBrush_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="HighlightEndArrow" Storyboard.TargetProperty="Fill">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource RelationContainerBorderBrush_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
                <VisualStateGroup x:Name="HighlightStates">
                    <VisualState x:Name="NotHighlighted"/>
                    <VisualState x:Name="Highlighted">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="HighlightArrowPath" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="HighlightEndArrow" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="ArrowPath" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Collapsed</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="EndArrow" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Collapsed</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>
            <Path Data="{Binding PathData}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="5" StrokeEndLineCap="Square" StrokeStartLineCap="Square"/>
            <Path x:Name="ArrowPath"
                    Data="{Binding PathData}"
                    Stroke="{TemplateBinding Foreground}"
                    StrokeThickness="{TemplateBinding ArrowThickness}"
                    StrokeEndLineCap="Square"
                    StrokeStartLineCap="Square"/>
            <Path x:Name="HighlightArrowPath"
                    Visibility="Collapsed"
                    Data="{Binding PathData}"
                    Stroke="{StaticResource RelationContainerBorderBrush_Highlighted}"
                    StrokeThickness="{TemplateBinding ArrowThickness}"
                    StrokeEndLineCap="Square"
                    StrokeStartLineCap="Square"/>
            <Grid x:Name="EndArrowHost" Height="7" Margin="0 -3" Width="5" RenderTransformOrigin="1, .5">
                <Path x:Name="EndArrow" Data="M0.50,0.50 L4.50,3.51 L0.50,6.50 z" Fill="{TemplateBinding Foreground}" Stretch="None"/>
                <Path x:Name="HighlightEndArrow"
                        Visibility="Collapsed"
                        Data="M0.50,0.50 L4.50,3.51 L0.50,6.50 z"
                        Fill="{StaticResource RelationContainerBorderBrush_Highlighted}"
                        Stretch="None"/>
            </Grid>
        </Grid>
    </ControlTemplate>
    <Style x:Key="RelationContainerStyle" TargetType="gantt:RelationContainer">
        <Setter Property="Foreground" Value="{telerik:Windows8Resource ResourceKey=StrongBrush}"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="20"/>
        <Setter Property="ArrowThickness" Value="1"/>
        <Setter Property="UseLayoutRounding" Value="True"/>
        <Setter Property="SummaryContainerMargin" Value="-4 0"/>
        <Setter Property="Margin" Value="0 12 0 11"/>
        <Setter Property="MilestoneContainerMargin" Value="-7 0"/>
        <Setter Property="Template" Value="{StaticResource RelationContainerTemplate}"/>
    </Style>
    <Style x:Key="DragRelationSlotClontainerStyle" TargetType="gantt:DragRelationSlotContainer">
        <Setter Property="Foreground" Value="{telerik:Windows8Resource ResourceKey=StrongBrush}"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="ArrowThickness" Value="1"/>
        <Setter Property="UseLayoutRounding" Value="True"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="10"/>
        <Setter Property="IsHitTestVisible" Value="False"/>
        <Setter Property="Margin" Value="0 12 0 11"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gantt:DragRelationSlotContainer">
                    <Grid Background="{TemplateBinding Background}">
                        <Path x:Name="ArrowPath"
                                Data="{Binding PathData}"
                                Stroke="{TemplateBinding Foreground}"
                                StrokeThickness="{TemplateBinding ArrowThickness}"
                                StrokeEndLineCap="Square"
                                StrokeStartLineCap="Square"/>
                        <Grid x:Name="EndArrowHost" Height="7" Margin="0 -3" Width="5" RenderTransformOrigin="1, .5">
                            <Path x:Name="EndArrow" Data="M0.50,0.50 L4.50,3.51 L0.50,6.50 z" Fill="{TemplateBinding Foreground}" Stretch="None"/>
                        </Grid>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <ControlTemplate x:Key="DependencyIndicatorTemplate" TargetType="gantt:DependencyIndicator">
        <Grid>
            <VisualStateManager.VisualStateGroups>
                <VisualStateGroup x:Name="CommonStates">
                    <VisualState x:Name="Normal"/>
                    <VisualState x:Name="MouseOver">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="Visual" Storyboard.TargetProperty="Fill">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource GanttView_DependenciesIndicator_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="DragOver">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="Visual" Storyboard.TargetProperty="Stroke">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource GanttView_DependenciesIndicator_DragOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <DoubleAnimation Duration="0:0:0.1" To="1.5" Storyboard.TargetName="EllipseScale" Storyboard.TargetProperty="ScaleX"/>
                            <DoubleAnimation Duration="0:0:0.1" To="1.5" Storyboard.TargetName="EllipseScale" Storyboard.TargetProperty="ScaleY"/>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Visual" Storyboard.TargetProperty="Margin">
                                <DiscreteObjectKeyFrame KeyTime="0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Thickness>-1 0</Thickness>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Disabled"/>
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>
            <Ellipse x:Name="Visual"
                    Width="7"
                    Height="7"
                    Stroke="{telerik:Windows8Resource ResourceKey=StrongBrush}"
                    Fill="{telerik:Windows8Resource ResourceKey=MainBrush}"
                    Cursor="Hand"
                    VerticalAlignment="Center"
                    RenderTransformOrigin="0.5,0.5">
                <Ellipse.RenderTransform>
                    <ScaleTransform x:Name="EllipseScale"/>
                </Ellipse.RenderTransform>
                <telerik:ToolTipManager.ToolTip>
                    <ToolTip ContentTemplate="{StaticResource DragRelationTooltipTemplate}"/>
                </telerik:ToolTipManager.ToolTip>
            </Ellipse>
        </Grid>
    </ControlTemplate>
    <Style x:Key="DependencyIndicatorStyle" TargetType="gantt:DependencyIndicator">
        <Setter Property="Template" Value="{StaticResource DependencyIndicatorTemplate}"/>
        <Setter Property="telerik:TouchManager.DragStartTrigger" Value="TapHoldAndMove"/>
    </Style>
    <ControlTemplate x:Key="EventDecoratorContainerTemplate" TargetType="gantt:EventDecoratorContainer">
        <Grid>
            <VisualStateManager.VisualStateGroups>
                <VisualStateGroup x:Name="ItemTypeStates">
                    <VisualState x:Name="Normal"/>
                    <VisualState x:Name="Summary"/>
                    <VisualState x:Name="Milestone">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="ResizeStart" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Collapsed</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="ResizeEnd" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Collapsed</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>
            <Rectangle x:Name="ResizeStart"
                    Width="6"
                    HorizontalAlignment="Left"
                    Fill="Transparent"
                    Cursor="SizeWE"
                    scheduling:DragDropElement.Type="ResizeStart"
                    telerik:TouchManager.DragStartTrigger="TapHoldAndMove"/>
            <Rectangle x:Name="ResizeEnd"
                    Width="6"
                    HorizontalAlignment="Right"
                    Fill="Transparent"
                    Cursor="SizeWE"
                    scheduling:DragDropElement.Type="ResizeEnd"
                    telerik:TouchManager.DragStartTrigger="TapHoldAndMove"/>
            <gantt:DependencyIndicator x:Name="CreateDependencyFromStart"
                    scheduling:DragDropElement.Type="LinkStart"
                    Margin="-7 0 0 0"
                    Style="{StaticResource DependencyIndicatorStyle}"
                    HorizontalAlignment="Left"
                    VerticalAlignment="Center"/>
            <gantt:DependencyIndicator x:Name="CreateDependencyFromEnd"
                    scheduling:DragDropElement.Type="LinkEnd"
                    Margin="0 0 -7 0"
                    Style="{StaticResource DependencyIndicatorStyle}"
                    HorizontalAlignment="Right"
                    VerticalAlignment="Center"/>
        </Grid>
    </ControlTemplate>
    <Style x:Key="EventDecoratorContainerStyle" TargetType="gantt:EventDecoratorContainer">
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="45"/>
        <Setter Property="MilestoneContainerMargin" Value="-6 0"/>
        <Setter Property="SummaryContainerMargin" Value="-4 0"/>
        <Setter Property="Template" Value="{StaticResource EventDecoratorContainerTemplate}"/>
    </Style>
    <DataTemplate x:Key="EventToolTipTemplate">
        <Grid Margin="2">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="*" MinWidth="130"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <TextBlock Text="{Binding Title}" Grid.ColumnSpan="2" Margin="0" TextWrapping="NoWrap" TextTrimming="None"/>
            <TextBlock telerik:LocalizationManager.ResourceKey="Start" Grid.Row="1" Margin="0 0 3 0"/>
            <TextBlock Text="{Binding Start, Converter={StaticResource DateTimeToCurrentUICultureStringConverter}}" Grid.Row="1" Grid.Column="1" TextWrapping="NoWrap" TextTrimming="None"/>
            <TextBlock telerik:LocalizationManager.ResourceKey="End" Grid.Row="2" Margin="0 0 3 0"/>
            <TextBlock Text="{Binding End, Converter={StaticResource DateTimeToCurrentUICultureStringConverter}}" Grid.Row="2" Grid.Column="1" TextWrapping="NoWrap" TextTrimming="None"/>
        </Grid>
    </DataTemplate>
    <ControlTemplate x:Key="EventContainerTemplate" TargetType="gantt:EventContainer">
        <Grid>
            <VisualStateManager.VisualStateGroups>
                <VisualStateGroup x:Name="CommonStates">
                    <VisualState x:Name="Normal"/>
                    <VisualState x:Name="MouseOver">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="MouseOverVisual" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Disabled"/>
                    <VisualState x:Name="MouseOverHighlighted">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="MouseOverHighlightedVisual" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
                <VisualStateGroup x:Name="SelectionStates">
                    <VisualState x:Name="Unselected"/>
                    <VisualState x:Name="Selected">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="CommonStatesVisual" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
                <VisualStateGroup x:Name="FocusStates">
                    <VisualState x:Name="Focused"/>
                    <VisualState x:Name="Unfocused"/>
                </VisualStateGroup>
                <VisualStateGroup x:Name="HighlightStates">
                    <VisualState x:Name="NotHighlighted"/>
                    <VisualState x:Name="Highlighted">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="HighlightVisual" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>
            <telerik:ToolTipManager.ToolTip>
                <ToolTip ContentTemplate="{TemplateBinding ToolTipTemplate}" Content="{Binding OriginalEvent}"/>
            </telerik:ToolTipManager.ToolTip>
            <Rectangle x:Name="Background" Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}"/>
            <Rectangle x:Name="CommonStatesVisual"
                    Visibility="Collapsed"
                    Fill="{telerik:Windows8Resource ResourceKey=StrongBrush}"
                    Opacity="0.7"
                    Stroke="{TemplateBinding BorderBrush}"
                    StrokeThickness="{TemplateBinding BorderThickness}"/>
            <Rectangle x:Name="HighlightVisual"
                    Visibility="Collapsed"
                    Fill="{StaticResource EventBackground_Highlighted}"
                    Stroke="{TemplateBinding BorderBrush}"
                    StrokeThickness="{TemplateBinding BorderThickness}"/>
            <Rectangle x:Name="MouseOverVisual"
                    Visibility="Collapsed"
                    Grid.Column="1"
                    Fill="{telerik:Windows8Resource ResourceKey=MainBrush}"
                    Opacity="0.4"
                    Stroke="{TemplateBinding BorderBrush}"
                    StrokeThickness="{TemplateBinding BorderThickness}"/>
            <Rectangle x:Name="MouseOverHighlightedVisual"
                    Visibility="Collapsed"
                    Fill="{telerik:Windows8Resource ResourceKey=MainBrush}"
                    Opacity="0.4"
                    Stroke="{TemplateBinding BorderBrush}"
                    StrokeThickness="{TemplateBinding BorderThickness}"/>
            <Grid Grid.Column="1" Margin="{TemplateBinding Padding}">
                <Grid.RowDefinitions>
                    <RowDefinition Height="*"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>
                <TextBlock x:Name="txtBlock" Text="{Binding Title}" FontSize="{TemplateBinding FontSize}"/>
                <telerik:ProgressPresenter Grid.Row="1" Height="2" Margin="0 0 0 2" HorizontalAlignment="Stretch" Progress="{Binding Progress}" Orientation="Horizontal">
                    <Rectangle Fill="{telerik:Windows8Resource ResourceKey=MainBrush}" Opacity="0.7" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>
                </telerik:ProgressPresenter>
            </Grid>
        </Grid>
    </ControlTemplate>
    <Style x:Key="EventContainerStyle" TargetType="gantt:EventContainer">
        <Setter Property="scheduling:DragDropElement.Type" Value="Drag"/>
        <Setter Property="telerik:TouchManager.DragStartTrigger" Value="TapHoldAndMove"/>
        <Setter Property="Background" Value="{telerik:Windows8Resource ResourceKey=AccentBrush}"/>
        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="40"/>
        <Setter Property="Foreground" Value="{telerik:Windows8Resource ResourceKey=MainBrush}"/>
        <Setter Property="MinHeight" Value="17"/>
        <Setter Property="BorderBrush" Value="{x:Null}"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="Padding" Value="5 0"/>
        <Setter Property="FontFamily" Value="{telerik:Windows8Resource ResourceKey=FontFamily}"/>
        <Setter Property="ToolTipTemplate" Value="{StaticResource EventToolTipTemplate}"/>
        <Setter Property="Template" Value="{StaticResource EventContainerTemplate}"/>
    </Style>
    <DataTemplate x:Key="MilestoneToolTipTemplate">
        <Grid>
            <TextBlock Text="{Binding Start, Converter={StaticResource DateTimeToCurrentUICultureStringConverter}}" Margin="0" TextWrapping="NoWrap" TextTrimming="None"/>
        </Grid>
    </DataTemplate>
    <ControlTemplate x:Key="MilestoneContainerTemplate" TargetType="gantt:MilestoneContainer">
        <Grid Background="{StaticResource TransparentBrush}">
            <VisualStateManager.VisualStateGroups>
                <VisualStateGroup x:Name="CommonStates">
                    <VisualState x:Name="Normal"/>
                    <VisualState x:Name="MouseOver">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="MouseOverVisual" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="MouseOverHighlighted">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="MouseOverVisual" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Disabled"/>
                </VisualStateGroup>
                <VisualStateGroup x:Name="SelectionStates">
                    <VisualState x:Name="Unselected"/>
                    <VisualState x:Name="Selected">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="SelectedVisual" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
                <VisualStateGroup x:Name="FocusStates">
                    <VisualState x:Name="Focused"/>
                    <VisualState x:Name="Unfocused"/>
                </VisualStateGroup>
                <VisualStateGroup x:Name="HighlightStates">
                    <VisualState x:Name="NotHighlighted"/>
                    <VisualState x:Name="Highlighted">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="HighlightVisual" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>
            <Grid RenderTransformOrigin="0.5,0.5">
                <Grid.RenderTransform>
                    <RotateTransform Angle="45"/>
                </Grid.RenderTransform>
                <telerik:ToolTipManager.ToolTip>
                    <ToolTip ContentTemplate="{TemplateBinding ToolTipTemplate}" Content="{Binding OriginalEvent}"/>
                </telerik:ToolTipManager.ToolTip>
                <Rectangle Fill="{TemplateBinding Background}" Width="10" Height="10" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="1"/>
                <Rectangle x:Name="SelectedVisual" Fill="{StaticResource MilestoneFill_Selected}" Visibility="Collapsed" Width="10" Height="10"/>
                <Rectangle x:Name="HighlightVisual" Fill="{StaticResource MilestoneFill_Highlighted}" Visibility="Collapsed" Width="10" Height="10"/>
                <Rectangle x:Name="MouseOverVisual" Fill="{StaticResource MilestoneFill_MouseOver}" Visibility="Collapsed" Width="10" Height="10"/>
            </Grid>
        </Grid>
    </ControlTemplate>
    <Style x:Key="MilestoneContainerStyle" TargetType="gantt:MilestoneContainer">
        <Setter Property="scheduling:DragDropElement.Type" Value="Drag"/>
        <Setter Property="telerik:TouchManager.DragStartTrigger" Value="TapHoldAndMove"/>
        <Setter Property="HorizontalContentAlignment" Value="Left"/>
        <Setter Property="VerticalContentAlignment" Value="Top"/>
        <Setter Property="Background" Value="{StaticResource MilestoneFill_Normal}"/>
        <Setter Property="BorderBrush" Value="{StaticResource MilestoneStroke_Normal}"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="40"/>
        <Setter Property="Margin" Value="-7 0"/>
        <Setter Property="ToolTipTemplate" Value="{StaticResource MilestoneToolTipTemplate}"/>
        <Setter Property="Template" Value="{StaticResource MilestoneContainerTemplate}"/>
    </Style>
    <DataTemplate x:Key="SummaryToolTipTemplate">
        <StackPanel Orientation="Horizontal">
            <TextBlock Text="{Binding Start, Converter={StaticResource DateTimeToCurrentUICultureStringConverter}}" TextWrapping="NoWrap" TextTrimming="None"/>
            <TextBlock Text="-"/>
            <TextBlock Text="{Binding End, Converter={StaticResource DateTimeToCurrentUICultureStringConverter}}" TextWrapping="NoWrap" TextTrimming="None"/>
        </StackPanel>
    </DataTemplate>
    <ControlTemplate x:Key="SummaryContainerTemplate" TargetType="gantt:SummaryContainer">
        <Grid>
            <VisualStateManager.VisualStateGroups>
                <VisualStateGroup x:Name="CommonStates">
                    <VisualState x:Name="Normal"/>
                    <VisualState x:Name="MouseOver">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="LeftMarker" Storyboard.TargetProperty="Fill">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource SummaryBackground_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="BackgroundBorder" Storyboard.TargetProperty="Background">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource SummaryBackground_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="RightMarker" Storyboard.TargetProperty="Fill">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource SummaryBackground_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="MouseOverHighlighted">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="LeftMarker" Storyboard.TargetProperty="Fill">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource SummaryBackground_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="BackgroundBorder" Storyboard.TargetProperty="Background">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource SummaryBackground_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="RightMarker" Storyboard.TargetProperty="Fill">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource SummaryBackground_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Disabled"/>
                </VisualStateGroup>
                <VisualStateGroup x:Name="SelectionStates">
                    <VisualState x:Name="Unselected"/>
                    <VisualState x:Name="Selected">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="LeftMarker" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Collapsed</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="BackgroundBorder" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Collapsed</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="RightMarker" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Collapsed</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="LeftMarkerSelected" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="BackgroundBorderSelected" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="RightMarkerSelected" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
                <VisualStateGroup x:Name="FocusStates">
                    <VisualState x:Name="Focused"/>
                    <VisualState x:Name="Unfocused"/>
                </VisualStateGroup>
                <VisualStateGroup x:Name="HighlightStates">
                    <VisualState x:Name="NotHighlighted"/>
                    <VisualState x:Name="Highlighted">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="LeftMarkerHighlighted" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="BackgroundBorderHighlighted" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="RightMarkerHighlighted" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>
            <telerik:ToolTipManager.ToolTip>
                <ToolTip ContentTemplate="{TemplateBinding ToolTipTemplate}" Content="{Binding OriginalEvent}"/>
            </telerik:ToolTipManager.ToolTip>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition/>
                <ColumnDefinition Width="Auto"/>
            </Grid.ColumnDefinitions>
            <Border Background="Transparent" IsHitTestVisible="True" Grid.ColumnSpan="3" Height="10" Margin="0 2 0 -4"/>
            <Path x:Name="LeftMarker" Data="M0,0 L9,0 L4.5,4 z" Stretch="Fill" Fill="{TemplateBinding Background}" Width="9" Height="4" Margin="0 0 0 -9" HorizontalAlignment="Left"/>
            <Path x:Name="LeftMarkerSelected"
                    Data="M0,0 L9,0 L4.5,4 z"
                    Stretch="Fill"
                    Fill="{StaticResource SummaryBackground_Selected}"
                    Width="9"
                    Height="4"
                    Margin="0 0 0 -9"
                    HorizontalAlignment="Left"
                    Visibility="Collapsed"/>
            <Path x:Name="LeftMarkerHighlighted"
                    Data="M0,0 L9,0 L4.5,4 z"
                    Stretch="Fill"
                    Fill="{StaticResource SummaryBackground_Highlighted}"
                    Width="9"
                    Height="4"
                    Margin="0 0 0 -9"
                    HorizontalAlignment="Left"
                    Visibility="Collapsed"/>
            <Border x:Name="BackgroundBorder" Grid.ColumnSpan="3" Height="6" Background="{TemplateBinding Background}"/>
            <Border x:Name="BackgroundBorderSelected" Grid.ColumnSpan="3" Height="6" Background="{StaticResource SummaryBackground_Selected}" Visibility="Collapsed"/>
            <Border x:Name="BackgroundBorderHighlighted" Grid.ColumnSpan="3" Height="6" Background="{StaticResource SummaryBackground_Highlighted}" Visibility="Collapsed"/>
            <Path x:Name="RightMarker"
                    Data="M0,0 L9,0 L4.5,4 z"
                    Grid.Column="2"
                    Stretch="Fill"
                    Fill="{TemplateBinding Background}"
                    Width="9"
                    Height="4"
                    Margin="0 0 0 -9"
                    HorizontalAlignment="Right"/>
            <Path x:Name="RightMarkerSelected"
                    Data="M0,0 L9,0 L4.5,4 z"
                    Grid.Column="2"
                    Stretch="Fill"
                    Fill="{StaticResource SummaryBackground_Selected}"
                    Width="9"
                    Height="4"
                    Margin="0 0 0 -9"
                    HorizontalAlignment="Right"
                    Visibility="Collapsed"/>
            <Path x:Name="RightMarkerHighlighted"
                    Data="M0,0 L9,0 L4.5,4 z"
                    Grid.Column="2"
                    Stretch="Fill"
                    Fill="{StaticResource SummaryBackground_Highlighted}"
                    Width="9"
                    Height="4"
                    Margin="0 0 0 -9"
                    HorizontalAlignment="Right"
                    Visibility="Collapsed"/>
        </Grid>
    </ControlTemplate>
    <Style x:Key="SummaryContainerStyle" TargetType="gantt:SummaryContainer">
        <Setter Property="scheduling:DragDropElement.Type" Value="Drag"/>
        <Setter Property="telerik:TouchManager.DragStartTrigger" Value="TapHoldAndMove"/>
        <Setter Property="VerticalAlignment" Value="Stretch"/>
        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
        <Setter Property="Background" Value="{StaticResource SummaryBackground_Normal}"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="FontFamily" Value="{telerik:Windows8Resource ResourceKey=FontFamily}"/>
        <Setter Property="Margin" Value="-4 0"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="40"/>
        <Setter Property="Foreground" Value="{telerik:Windows8Resource ResourceKey=MarkerBrush}"/>
        <Setter Property="ToolTipTemplate" Value="{StaticResource SummaryToolTipTemplate}"/>
        <Setter Property="Template" Value="{StaticResource SummaryContainerTemplate}"/>
    </Style>
    <ControlTemplate x:Key="ColumnHeaderContainerTemplate" TargetType="gantt:ColumnHeaderContainer">
        <Border BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}" BorderThickness="{TemplateBinding BorderThickness}">
            <Grid>
                <ContentPresenter
                        HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                        VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                        Content="{Binding SourceItem}"
                        Margin="{TemplateBinding Padding}"
                        ContentTemplate="{TemplateBinding ContentTemplate}"/>
                <telerik:ResizeControl
                        VerticalAlignment="Stretch"
                        HorizontalAlignment="Right"
                        Style="{StaticResource GanttPresenterHeaderSplitterStyle}"
                        ShowsPreview="False"
                        Grid.Column="1"
                        IsEnabled="{Binding SourceItem.IsResizable}"/>
            </Grid>
        </Border>
    </ControlTemplate>
    <Style x:Key="ColumnHeaderContainerStyle" TargetType="gantt:ColumnHeaderContainer">
        <Setter Property="Padding" Value="5 0"/>
        <Setter Property="MinHeight" Value="23"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="FontFamily" Value="{telerik:Windows8Resource ResourceKey=FontFamilyStrong}"/>
        <Setter Property="SubitemsGap" Value="0"/>
        <Setter Property="VerticalAlignment" Value="Bottom"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Margin" Value="0"/>
        <Setter Property="BorderThickness" Value="1 1 0 1"/>
        <Setter Property="BorderBrush" Value="{telerik:Windows8Resource ResourceKey=MainBrush}"/>
        <Setter Property="Background" Value="{telerik:Windows8Resource ResourceKey=AccentBrush}"/>
        <Setter Property="AlternatingBackground" Value="{telerik:Windows8Resource ResourceKey=AccentBrush}"/>
        <Setter Property="Foreground" Value="{telerik:Windows8Resource ResourceKey=MainBrush}"/>
        <Setter Property="HorizontalContentAlignment" Value="Left"/>
        <Setter Property="SubitemsPadding" Value="0"/>
        <Setter Property="Template" Value="{StaticResource ColumnHeaderContainerTemplate}"/>
        <Setter Property="ContentTemplate">
            <Setter.Value>
                <DataTemplate>
                    <TextBlock Text="{Binding Header}"/>
                </DataTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="SimpleCellContainerStyle" TargetType="gantt:SimpleCellContainer">
        <Setter Property="gantt:TreeCellContainer.LevelOffset" Value="15"/>
        <Setter Property="BorderThickness" Value="0 0 0 0"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="30"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
        <Setter Property="Foreground" Value="{telerik:Windows8Resource ResourceKey=MarkerBrush}"/>
        <Setter Property="Padding" Value="5 0"/>
        <Setter Property="MinHeight" Value="24"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gantt:SimpleCellContainer">
                    <Border Background="{TemplateBinding Background}" BorderThickness="0" BorderBrush="{TemplateBinding BorderBrush}">
                        <TextBlock
                                Margin="{TemplateBinding Padding}"
                                HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                                VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                                x:Name="ValueTextBlock"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="CellContainerStyle" TargetType="gantt:CellContainer">
        <Setter Property="IsHitTestVisible" Value="True"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="KeyboardNavigation.IsTabStop" Value="False"/>
        <Setter Property="Padding" Value="5 0"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="MinHeight" Value="24"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="30"/>
        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
        <Setter Property="Foreground" Value="{telerik:Windows8Resource ResourceKey=MarkerBrush}"/>
        <Setter Property="ContentTemplate">
            <Setter.Value>
                <DataTemplate>
                    <TextBlock Text="{Binding FormattedValue}" VerticalAlignment="Center"/>
                </DataTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gantt:CellContainer">
                    <ContentPresenter Margin="{TemplateBinding Padding}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="CellHighlightContainerStyle" TargetType="gantt:CellContainer" BasedOn="{StaticResource CellContainerStyle}">
        <Setter Property="telerik:DragDropManager.AllowCapturedDrag" Value="True"/>
        <Setter Property="telerik:TouchManager.DragStartTrigger" Value="TapHoldAndMove"/>
        <Setter Property="BorderBrush" Value="{StaticResource CellContainerBorder_Highlighted}"/>
        <Setter Property="BorderThickness" Value="1 1 1 1"/>
        <Setter Property="Background" Value="{StaticResource CellHighlightContainerBackground}"/>
        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
        <Setter Property="Margin" Value="0"/>
        <Setter Property="Padding" Value="5 0"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="100"/>
        <Setter Property="ContentTemplate">
            <Setter.Value>
                <DataTemplate>
                    <TextBlock Text="{Binding FormattedValue}" VerticalAlignment="Center"/>
                </DataTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gantt:CellContainer">
                    <Grid>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup>
                                <VisualState x:Name="HighlightedState"/>
                                <VisualState x:Name="SelectedState"/>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Border
                                BorderBrush="{TemplateBinding BorderBrush}"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                Background="{TemplateBinding Background}"
                                HorizontalAlignment="Stretch"
                                Margin="1 0 1 0"/>
                        <ContentPresenter Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="CellEditingContainerStyle" TargetType="gantt:CellEditingContainer">
        <Setter Property="KeyboardNavigation.TabNavigation" Value="Once"/>
        <Setter Property="KeyboardNavigation.IsTabStop" Value="False"/>
        <Setter Property="Foreground" Value="{telerik:Windows8Resource ResourceKey=MainBrush}"/>
        <Setter Property="Background" Value="{StaticResource CellEditingBackground}"/>
        <Setter Property="BorderBrush" Value="{telerik:Windows8Resource ResourceKey=AccentBrush}"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="Padding" Value="2 0"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="50"/>
        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
        <Setter Property="Height" Value="24"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gantt:CellEditingContainer">
                    <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}">
                        <ContentPresenter Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ContentTemplate">
            <Setter.Value>
                <DataTemplate>
                    <TextBlock x:Name="CellText" Text="{Binding FormattedValue}"/>
                </DataTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="SimpleTreeCellContainerStyle" TargetType="gantt:SimpleCellContainer" BasedOn="{StaticResource SimpleCellContainerStyle}">
        <Setter Property="Padding" Value="0 0 5 0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gantt:SimpleCellContainer">
                    <Border Background="{TemplateBinding Background}" BorderThickness="0" Margin="{TemplateBinding Padding}">
                        <Grid x:Name="TemplateRootVisual"
                                HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                                Background="{TemplateBinding Background}"
                                VerticalAlignment="{TemplateBinding VerticalAlignment}">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="20"/>
                                <ColumnDefinition Width="*"/>
                            </Grid.ColumnDefinitions>
                            <Border x:Name="PART_ExpandCollapseHitArea" MinHeight="15" Background="Transparent" Grid.Column="0" HorizontalAlignment="Stretch">
                                <Path x:Name="PART_ExpandCollapseVisual"
                                        StrokeThickness="1"
                                        RenderTransformOrigin="0.5,0.5"
                                        Stretch="Fill"
                                        Data="M0,0 L4,3 L0,6 z"
                                        Width="4"
                                        Height="6"
                                        VerticalAlignment="Stretch"
                                        HorizontalAlignment="Stretch"
                                        IsHitTestVisible="False"
                                        Margin="-4 0 0 0"/>
                            </Border>
                            <TextBlock Grid.Column="1" x:Name="ValueTextBlock" HorizontalAlignment="Stretch" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="gantt:TreeCellContainer.ExpandCollapseVisualCollapsedStyle">
            <Setter.Value>
                <Style TargetType="Path">
                    <Setter Property="Fill" Value="{telerik:Windows8Resource ResourceKey=AccentBrush}"/>
                </Style>
            </Setter.Value>
        </Setter>
        <Setter Property="gantt:TreeCellContainer.ExpandCollapseVisualExpandedStyle">
            <Setter.Value>
                <Style TargetType="Path">
                    <Setter Property="Fill" Value="{telerik:Windows8Resource ResourceKey=AccentBrush}"/>
                    <Setter Property="RenderTransform">
                        <Setter.Value>
                            <RotateTransform Angle="90" CenterX="0.5" CenterY="0.5"/>
                        </Setter.Value>
                    </Setter>
                </Style>
            </Setter.Value>
        </Setter>
    </Style>
    <ControlTemplate x:Key="TreeCellContainerTemplate" TargetType="gantt:TreeCellContainer">
        <Grid x:Name="TemplateRootVisual" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="20"/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>
            <Border x:Name="PART_ExpandCollapseHitArea" MinHeight="15" Background="Transparent" Grid.Column="0" HorizontalAlignment="Stretch">
                <Path x:Name="PART_ExpandCollapseVisual"
                        StrokeThickness="1"
                        RenderTransformOrigin="0.5,0.5"
                        Stretch="Fill"
                        Data="M0,0 L4,3 L0,6 z"
                        Width="4"
                        Height="6"
                        VerticalAlignment="Stretch"
                        HorizontalAlignment="Stretch"
                        IsHitTestVisible="False"
                        Margin="-4 0 0 0"/>
            </Border>
            <ContentPresenter
                    Grid.Column="1"
                    Margin="{TemplateBinding Padding}"
                    HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                    VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
        </Grid>
    </ControlTemplate>
    <Style x:Key="TreeCellContainerStyle" TargetType="gantt:TreeCellContainer">
        <Setter Property="gantt:TreeCellContainer.LevelOffset" Value="15"/>
        <Setter Property="IsHitTestVisible" Value="True"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="30"/>
        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
        <Setter Property="Padding" Value="0 0 5 0"/>
        <Setter Property="MinHeight" Value="24"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="ContentTemplate">
            <Setter.Value>
                <DataTemplate>
                    <TextBlock Text="{Binding FormattedValue}" VerticalAlignment="Center"/>
                </DataTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="Template" Value="{StaticResource TreeCellContainerTemplate}"/>
        <Setter Property="gantt:TreeCellContainer.ExpandCollapseVisualCollapsedStyle">
            <Setter.Value>
                <Style TargetType="Path">
                    <Setter Property="Fill" Value="{telerik:Windows8Resource ResourceKey=AccentBrush}"/>
                </Style>
            </Setter.Value>
        </Setter>
        <Setter Property="gantt:TreeCellContainer.ExpandCollapseVisualExpandedStyle">
            <Setter.Value>
                <Style TargetType="Path">
                    <Setter Property="Fill" Value="{telerik:Windows8Resource ResourceKey=AccentBrush}"/>
                    <Setter Property="RenderTransform">
                        <Setter.Value>
                            <RotateTransform Angle="90" CenterX="0.5" CenterY="0.5"/>
                        </Setter.Value>
                    </Setter>
                </Style>
            </Setter.Value>
        </Setter>
    </Style>
    <ControlTemplate x:Key="TreeCellHighlightContainerTemplate" TargetType="gantt:TreeCellHighlightContainer">
        <Grid x:Name="TemplateRootVisual" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="20"/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>
            <VisualStateManager.VisualStateGroups>
                <VisualStateGroup>
                    <VisualState x:Name="HighlightedState"/>
                    <VisualState x:Name="SelectedState"/>
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>
            <Border x:Name="PART_ExpandCollapseHitArea" MinHeight="15" Background="Transparent" Grid.Column="0" HorizontalAlignment="Stretch">
                <Path x:Name="PART_ExpandCollapseVisual"
                        StrokeThickness="1"
                        RenderTransformOrigin="0.5,0.5"
                        Stretch="Fill"
                        Data="M0,0 L4,3 L0,6 z"
                        Width="4"
                        Height="6"
                        VerticalAlignment="Stretch"
                        HorizontalAlignment="Stretch"
                        IsHitTestVisible="False"
                        Margin="-4 0 0 0"/>
            </Border>
            <Border
                    BorderBrush="{TemplateBinding BorderBrush}"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    Background="{TemplateBinding Background}"
                    HorizontalAlignment="Stretch"
                    Margin="-2 0 1 0"
                    Grid.Column="1"/>
            <ContentPresenter
                    Grid.Column="1"
                    Margin="{TemplateBinding Padding}"
                    HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                    VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
        </Grid>
    </ControlTemplate>
    <Style x:Key="TreeCellHighlightContainerStyle" TargetType="gantt:TreeCellContainer" BasedOn="{StaticResource TreeCellContainerStyle}">
        <Setter Property="telerik:DragDropManager.AllowCapturedDrag" Value="True"/>
        <Setter Property="telerik:TouchManager.DragStartTrigger" Value="TapHoldAndMove"/>
        <Setter Property="BorderBrush" Value="{StaticResource CellContainerBorder_Highlighted}"/>
        <Setter Property="BorderThickness" Value="1 1 1 1"/>
        <Setter Property="ContentTemplate">
            <Setter.Value>
                <DataTemplate>
                    <TextBlock Text="{Binding FormattedValue}" VerticalAlignment="Center"/>
                </DataTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="Template" Value="{StaticResource TreeCellHighlightContainerTemplate}"/>
    </Style>
    <Style x:Key="TreeCellEditingContainerStyle" TargetType="gantt:CellEditingContainer" BasedOn="{StaticResource CellEditingContainerStyle}">
        <Setter Property="HorizontalAlignment" Value="Stretch"/>
        <Setter Property="HorizontalContentAlignment" Value="Left"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gantt:TreeCellEditingContainer">
                    <Grid x:Name="TemplateRootVisual" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="20"/>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>
                        <Border x:Name="PART_ExpandCollapseHitArea" MinHeight="15" Background="Transparent" Grid.Column="0" HorizontalAlignment="Stretch">
                            <Path x:Name="PART_ExpandCollapseVisual"
                                    StrokeThickness="1"
                                    RenderTransformOrigin="0.5,0.5"
                                    Stretch="Fill"
                                    Data="M0,0 L4,3 L0,6 z"
                                    Width="4"
                                    Height="6"
                                    VerticalAlignment="Stretch"
                                    HorizontalAlignment="Stretch"
                                    IsHitTestVisible="False"
                                    Margin="-4 0 0 0"/>
                        </Border>
                        <ContentPresenter
                                Grid.Column="1"
                                Margin="{TemplateBinding Padding}"
                                HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                                VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="gantt:TreeCellContainer.ExpandCollapseVisualCollapsedStyle">
            <Setter.Value>
                <Style TargetType="Path">
                    <Setter Property="Fill" Value="{telerik:Windows8Resource ResourceKey=AccentBrush}"/>
                </Style>
            </Setter.Value>
        </Setter>
        <Setter Property="gantt:TreeCellContainer.ExpandCollapseVisualExpandedStyle">
            <Setter.Value>
                <Style TargetType="Path">
                    <Setter Property="Fill" Value="{telerik:Windows8Resource ResourceKey=AccentBrush}"/>
                    <Setter Property="RenderTransform">
                        <Setter.Value>
                            <RotateTransform Angle="90" CenterX="0.5" CenterY="0.5"/>
                        </Setter.Value>
                    </Setter>
                </Style>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="BorderContainerStyle" TargetType="telerik:BorderContainer">
        <Setter Property="IsHitTestVisible" Value="True"/>
        <Setter Property="BorderBrush" Value="{StaticResource BorderContainer_BorderBrush}"/>
        <Setter Property="Background" Value="{StaticResource BorderContainer_Background}"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="5"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerik:BorderContainer">
                    <Rectangle x:Name="Border"
                            Stroke="{TemplateBinding BorderBrush}"
                            Margin="0"
                            StrokeThickness="{TemplateBinding BorderThickness}"
                            Fill="{TemplateBinding Background}"
                            HorizontalAlignment="Stretch"
                            VerticalAlignment="Stretch"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="AlternatingBorderContainerStyle" TargetType="telerik:AlternatingBorderContainer">
        <Setter Property="IsHitTestVisible" Value="True"/>
        <Setter Property="BorderBrush" Value="{StaticResource BorderContainer_BorderBrush}"/>
        <Setter Property="Background" Value="{telerik:Windows8Resource ResourceKey=BasicBrush}"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="4"/>
        <Setter Property="Opacity" Value="0.3"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerik:BorderContainer">
                    <Rectangle x:Name="Border"
                            Stroke="{TemplateBinding BorderBrush}"
                            Margin="0"
                            StrokeThickness="{TemplateBinding BorderThickness}"
                            Fill="{TemplateBinding Background}"
                            HorizontalAlignment="Stretch"
                            VerticalAlignment="Stretch"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="GroupTickContainerStyle" TargetType="telerik:GroupTickContainer">
        <Setter Property="Background" Value="{telerik:Windows8Resource ResourceKey=MainBrush}"/>
        <Setter Property="BorderBrush" Value="{telerik:Windows8Resource ResourceKey=BasicBrush}"/>
        <Setter Property="BorderThickness" Value="1 1 0 1"/>
        <Setter Property="Padding" Value="4 0"/>
        <Setter Property="MinHeight" Value="23"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="Foreground" Value="{telerik:Windows8Resource ResourceKey=MarkerBrush}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerik:GroupTickContainer">
                    <Border
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            Background="{TemplateBinding Background}"
                            HorizontalAlignment="Stretch"
                            VerticalAlignment="Stretch">
                        <TextBlock Text="{Binding FormattedValue}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="MajorTickContainerStyle" TargetType="telerik:MajorTickContainer">
        <Setter Property="Background" Value="{telerik:Windows8Resource ResourceKey=MainBrush}"/>
        <Setter Property="BorderBrush" Value="{telerik:Windows8Resource ResourceKey=BasicBrush}"/>
        <Setter Property="Foreground" Value="{telerik:Windows8Resource ResourceKey=MarkerBrush}"/>
        <Setter Property="Padding" Value="3 0 2 0"/>
        <Setter Property="BorderThickness" Value="1 0 0 1"/>
        <Setter Property="FontFamily" Value="{telerik:Windows8Resource ResourceKey=FontFamilyLight}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerik:MajorTickContainer">
                    <Border
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            Background="{TemplateBinding Background}"
                            HorizontalAlignment="Stretch"
                            VerticalAlignment="Stretch">
                        <TextBlock Text="{Binding FormattedValue}" Margin="{TemplateBinding Padding}"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="MinorTickContainerStyle" TargetType="telerik:MinorTickContainer">
        <Setter Property="Foreground" Value="{telerik:Windows8Resource ResourceKey=MarkerBrush}"/>
        <Setter Property="Background" Value="{StaticResource MinorTickBackground}"/>
        <Setter Property="BorderBrush" Value="{telerik:Windows8Resource ResourceKey=BasicBrush}"/>
        <Setter Property="BorderThickness" Value="0 0 1 1"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerik:MinorTickContainer">
                    <Border
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            Background="{TemplateBinding Background}"
                            HorizontalAlignment="Stretch"
                            VerticalAlignment="Stretch"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="CurrentHourTickContainerStyle" TargetType="telerik:CurrentHourTickContainer">
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="BorderBrush" Value="{telerik:Windows8Resource ResourceKey=AccentBrush}"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Margin" Value="0 0 -1 0"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="15"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerik:CurrentHourTickContainer">
                    <Border
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            Background="{TemplateBinding Background}"
                            VerticalAlignment="Stretch"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="RowHighlightContainerStyle" TargetType="telerik:RowHighlightContainer">
        <Setter Property="IsHitTestVisible" Value="False"/>
        <Setter Property="BorderBrush" Value="{telerik:Windows8Resource ResourceKey=StrongBrush}"/>
        <Setter Property="Background" Value="{telerik:Windows8Resource ResourceKey=StrongBrush}"/>
        <Setter Property="BorderThickness" Value="0 0 0 0"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="15"/>
        <Setter Property="Opacity" Value="0.2"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerik:RowHighlightContainer">
                    <Border
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            Background="{TemplateBinding Background}"
                            HorizontalAlignment="Stretch"
                            VerticalAlignment="Stretch"
                            Margin="{TemplateBinding Padding}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="RowSelectionContainerStyle" TargetType="telerik:RowSelectionContainer">
        <Setter Property="BorderBrush" Value="{StaticResource GroupContainer_OuterBorderBrush_Selected}"/>
        <Setter Property="BorderThickness" Value="0 0 0 0"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="Background" Value="{telerik:Windows8Resource ResourceKey=BasicBrush}"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="20"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerik:RowSelectionContainer">
                    <Border
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            HorizontalAlignment="Stretch"
                            VerticalAlignment="Stretch"
                            Margin="{TemplateBinding Padding}"
                            Background="{TemplateBinding Background}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="SpecialSlotContainerStyle" TargetType="telerik:SpecialSlotContainer">
        <Setter Property="BorderBrush" Value="{telerik:Windows8Resource ResourceKey=BasicBrush}"/>
        <Setter Property="Background" Value="{telerik:Windows8Resource ResourceKey=BasicBrush}"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="10"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Margin" Value="0 0 -1 0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerik:SpecialSlotContainer">
                    <Grid>
                        <Rectangle x:Name="Background" Fill="{TemplateBinding Background}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Opacity="0.3"/>
                        <Rectangle x:Name="Border" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="DeadlineContainerStyle" TargetType="gantt:DeadlineContainer">
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="100"/>
        <Setter Property="Margin" Value="0 0 -4 0"/>
        <Setter Property="IsHitTestVisible" Value="False"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gantt:DeadlineContainer">
                    <StackPanel Orientation="Horizontal">
                        <Grid Width="3" Margin="0 0 -1 0">
                            <Rectangle Width="1" Fill="{StaticResource DeadlineFill}" Margin="0 1 0 1" Height="22"/>
                        </Grid>
                    </StackPanel>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="OnTimeIndicatorContainerStyle" TargetType="gantt:OnTimeIndicatorContainer">
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="MinHeight" Value="17"/>
        <Setter Property="Padding" Value="5 0"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="35"/>
        <Setter Property="Margin" Value="13 -5 -30 0"/>
        <Setter Property="Foreground" Value="{StaticResource OnTimeFill}"/>
        <Setter Property="IsHitTestVisible" Value="False"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gantt:OnTimeIndicatorContainer">
                    <Grid>
                        <Path
                                Data="M16,8 C16,12.4 12.4,16 8,16 C3.5,16 0,12.4 0,8 C0,3.5 3.5,0 8,0 C12.4,0 16,3.5 16,8 z"
                                Visibility="{Binding OriginalEvent.IsExpired, Converter={StaticResource BooleanToVisibilityConverter}}"
                                Fill="{StaticResource DeadlineBrush}"
                                Height="12"
                                Stretch="Fill"
                                VerticalAlignment="Bottom"
                                Width="12"/>
                        <Path
                                Data="M16,8 C16,12.4 12.4,16 8,16 C3.5,16 0,12.4 0,8 C0,3.5 3.5,0 8,0 C12.4,0 16,3.5 16,8 z"
                                Visibility="{Binding OriginalEvent.IsExpired, Converter={StaticResource InvertedBooleanToVisibilityConverter}}"
                                Fill="{StaticResource OnTimeBrush}"
                                Height="12"
                                Stretch="Fill"
                                VerticalAlignment="Bottom"
                                Width="12"/>
                        <Path
                                Stretch="Fill"
                                Fill="{TemplateBinding Foreground}"
                                Data="F1 M22,10 L26,10 26,23 31,17 31,23 24,31 17,23 17,17 22,23 22,10 z"
                                HorizontalAlignment="Left"
                                Width="6"
                                Height="8"
                                VerticalAlignment="Bottom"
                                Margin="3 0 0 2"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="gantt:GanttItemsPresenter" BasedOn="{StaticResource GanttItemsPresenterStyle}"/>
    <Style TargetType="gantt1:RadGanttView" BasedOn="{StaticResource RadGanttViewStyle}"/>
    <Style TargetType="gantt:RelationContainer" BasedOn="{StaticResource RelationContainerStyle}"/>
    <Style TargetType="gantt:EventDecoratorContainer" BasedOn="{StaticResource EventDecoratorContainerStyle}"/>
    <Style TargetType="gantt:EventContainer" BasedOn="{StaticResource EventContainerStyle}"/>
    <Style TargetType="gantt:MilestoneContainer" BasedOn="{StaticResource MilestoneContainerStyle}"/>
    <Style TargetType="gantt:SummaryContainer" BasedOn="{StaticResource SummaryContainerStyle}"/>
    <Style TargetType="gantt:ColumnHeaderContainer" BasedOn="{StaticResource ColumnHeaderContainerStyle}"/>
    <Style TargetType="gantt:SimpleCellContainer" BasedOn="{StaticResource SimpleCellContainerStyle}"/>
    <Style TargetType="gantt:CellContainer" BasedOn="{StaticResource CellContainerStyle}"/>
    <Style TargetType="gantt:CellHighlightContainer" BasedOn="{StaticResource CellHighlightContainerStyle}"/>
    <Style TargetType="gantt:CellEditingContainer" BasedOn="{StaticResource CellEditingContainerStyle}"/>
    <Style TargetType="gantt:SimpleTreeCellContainer" BasedOn="{StaticResource SimpleTreeCellContainerStyle}"/>
    <Style TargetType="gantt:TreeCellContainer" BasedOn="{StaticResource TreeCellContainerStyle}"/>
    <Style TargetType="gantt:TreeCellHighlightContainer" BasedOn="{StaticResource TreeCellHighlightContainerStyle}"/>
    <Style TargetType="gantt:TreeCellEditingContainer" BasedOn="{StaticResource TreeCellEditingContainerStyle}"/>
    <Style TargetType="telerik:BorderContainer" BasedOn="{StaticResource BorderContainerStyle}"/>
    <Style TargetType="telerik:AlternatingBorderContainer" BasedOn="{StaticResource AlternatingBorderContainerStyle}"/>
    <Style TargetType="telerik:SpecialSlotContainer" BasedOn="{StaticResource SpecialSlotContainerStyle}"/>
    <Style TargetType="telerik:GroupTickContainer" BasedOn="{StaticResource GroupTickContainerStyle}"/>
    <Style TargetType="telerik:MajorTickContainer" BasedOn="{StaticResource MajorTickContainerStyle}"/>
    <Style TargetType="telerik:MinorTickContainer" BasedOn="{StaticResource MinorTickContainerStyle}"/>
    <Style TargetType="telerik:CurrentHourTickContainer" BasedOn="{StaticResource CurrentHourTickContainerStyle}"/>
    <Style TargetType="telerik:RowHighlightContainer" BasedOn="{StaticResource RowHighlightContainerStyle}"/>
    <Style TargetType="telerik:RowSelectionContainer" BasedOn="{StaticResource RowSelectionContainerStyle}"/>
    <Style TargetType="gantt:DragResizeSlotHighlightContainer" BasedOn="{StaticResource DragResizeSlotHighlightContainerStyle}"/>
    <Style TargetType="gantt:DragResizeMilestoneSlotHighlightContainer" BasedOn="{StaticResource DragResizeMilestoneSlotHighlightContainerStyle}"/>
    <Style TargetType="gantt:DragResizeSummarySlotHighlightContainer" BasedOn="{StaticResource DragResizeSummarySlotHighlightContainerStyle}"/>
    <Style TargetType="gantt:GanttDragResizeVisualCue" BasedOn="{StaticResource GanttDragResizeVisualCueStyle}"/>
    <Style TargetType="gantt:DropReorderHighlightContainer" BasedOn="{StaticResource DropReorderHighlightContainerStyle}"/>
    <Style TargetType="gantt:DragRelationSlotContainer" BasedOn="{StaticResource DragRelationSlotClontainerStyle}"/>
    <Style TargetType="gantt:DeadlineContainer" BasedOn="{StaticResource DeadlineContainerStyle}"/>
    <Style TargetType="gantt:OnTimeIndicatorContainer" BasedOn="{StaticResource OnTimeIndicatorContainerStyle}"/>
</ResourceDictionary>
