<ResourceDictionary
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        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:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        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"
        xmlns:sys="clr-namespace:System;assembly=mscorlib">
    <telerik:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
    <telerik:InvertedBooleanToVisibilityConverter x:Key="InvertedBooleanToVisibilityConverter"/>
    <gantt1:DateTimeToCurrentUICultureStringConverter x:Key="DateTimeToCurrentUICultureStringConverter"/>
    <telerik:DragDropBooleanToVisibilityConverter x:Key="DragDropBooleanToVisibilityConverter"/>
    <SolidColorBrush x:Key="OnTimeFill" Color="#FFFFFFFF"/>
    <SolidColorBrush x:Key="GanttView_Background" Color="#FFFFFFFF"/>
    <SolidColorBrush x:Key="GanttView_BorderBrush" Color="Transparent"/>
    <sys:Double x:Key="Event_RadiusX">1</sys:Double>
    <sys:Double x:Key="Event_RadiusY">1</sys:Double>
    <SolidColorBrush x:Key="ColumnHeaderForeground_Normal" Color="#FF000000"/>
    <SolidColorBrush x:Key="ColumnHeaderBorderBrush_Normal" Color="#FF83A5D2"/>
    <LinearGradientBrush x:Key="ColumnHeaderBackground_Normal" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFEBF3FF" Offset="0"/>
        <GradientStop Color="#FFD0E8FF" Offset="1"/>
        <GradientStop Color="#FFABC9EE" Offset="0.43"/>
        <GradientStop Color="#FFC6DFFF" Offset="0.42"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="GroupContainer_InnerBorderBrush" Color="#FFFFFFFF"/>
    <LinearGradientBrush x:Key="GroupContainerBackground_MouseOver" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFFFBDA" Offset="0.022"/>
        <GradientStop Color="#B2FFFBA3" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="GroupContainer_OuterBorderBrush_MouseOver" Color="#B2FFC92B"/>
    <LinearGradientBrush x:Key="GroupContainerBackground_Selected" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFDD3A8" Offset="0"/>
        <GradientStop Color="#FFFCE79F" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="GroupContainer_OuterBorderBrush_Selected" Color="#FFFFC92B"/>
    <LinearGradientBrush x:Key="EventBackground_Normal" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFEBF3FF"/>
        <GradientStop Color="#FFCAE1FF" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="Event_OuterBorderBrush_Normal" Color="#FF83A5D2"/>
    <SolidColorBrush x:Key="Event_InnerBorderBrush_Normal" Color="#FFFFFFFF"/>
    <LinearGradientBrush x:Key="EventBackground_MouseOver" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFFFBA3" Offset="1"/>
        <GradientStop Color="#FFFFFBDA" Offset="0"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="Event_OuterBorderBrush_MouseOver" Color="#FFFFC92B"/>
    <SolidColorBrush x:Key="Event_InnerBorderBrush_MouseOver" Color="#FFFFFFFF"/>
    <LinearGradientBrush x:Key="EventBackground_Selected" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFCE79F" Offset="1"/>
        <GradientStop Color="#FFFFBA74"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="Event_OuterBorderBrush_Selected" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FF705400" Offset="0"/>
        <GradientStop Color="#FFFFC92B" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="EventBackground_Highlighted" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFCDCDC"/>
        <GradientStop Color="#FFFCC1C1" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="Event_OuterBorderBrush_Highlighted" Color="#FFE22F07"/>
    <LinearGradientBrush x:Key="EventBackground_MouseOverHighlighted" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFEBF3FF"/>
        <GradientStop Color="#FFCAE1FF" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="Event_InnerBorderBrush_MouseOverHighlighted" Color="#FFFFFFFF"/>
    <SolidColorBrush x:Key="Event_OuterBorderBrush_MouseOverHighlighted" Color="#FFFFC92B"/>
    <SolidColorBrush x:Key="EventForeground_Normal" Color="#FF000000"/>
    <CornerRadius x:Key="Event_OuterCornerRadius">1</CornerRadius>
    <LinearGradientBrush x:Key="ProgressFill" EndPoint="0.5,1.441" StartPoint="0.5,0">
        <GradientStop Color="#FF5C8ECD" Offset="0"/>
        <GradientStop Color="#FF000000" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="ExpanderFill_Checked" Color="#FF595959"/>
    <LinearGradientBrush x:Key="SummaryBackground_Normal" EndPoint="0.5,0.76" StartPoint="0.5,0">
        <GradientStop Color="#FFFD8F23" Offset="1"/>
        <GradientStop Color="#FFFFD030" Offset="0.2"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="SummaryBackground_Inverted" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFD8F23" Offset="0.15"/>
        <GradientStop Color="#FFD46A00" Offset="0.9"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="SummaryBackground_MouseOver" EndPoint="0.5,0.76" StartPoint="0.5,0">
        <GradientStop Color="#FFFEBE10" Offset="1"/>
        <GradientStop Color="#FFFEE32F" Offset="0.2"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="SummaryBackground_Inverted_MouseOver" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFEBE10" Offset="0.15"/>
        <GradientStop Color="#FFFE9700" Offset="0.9"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="SummaryBackground_Selected" EndPoint="0.5,0.76" StartPoint="0.5,0">
        <GradientStop Color="#FFD06700" Offset="1"/>
        <GradientStop Color="#FFE49C00" Offset="0.289"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="SummaryBackground_Inverted_Selected" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFD06700" Offset="0.15"/>
        <GradientStop Color="#FF955900" Offset="0.9"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="SummaryBackground_Highlighted" EndPoint="0.552,0.748" StartPoint="0.448,0.251">
        <GradientStop Color="#FFFCDCDC"/>
        <GradientStop Color="#FFFCC1C1" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="SummaryBackground_DragResize" EndPoint="0.5,0.76" StartPoint="0.5,0">
        <GradientStop Color="#E5FEBE10" Offset="0.988"/>
        <GradientStop Color="#E5FEE32F" Offset="0.2"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="SummaryBackground_Inverted_DragResize" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#E5FEBE10" Offset="0.15"/>
        <GradientStop Color="#E5FE9700" Offset="0.9"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="SummaryForeground_Normal" Color="#FF000000"/>
    <SolidColorBrush x:Key="SummaryForeground_Selected" Color="#FF000000"/>
    <LinearGradientBrush x:Key="MilestoneFill_Normal" EndPoint="0.85,0.85" StartPoint="0.14,0.14">
        <GradientStop Color="#FF679AD8" Offset="0"/>
        <GradientStop Color="#FF2D5383" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="MilestoneFill_MouseOver" EndPoint="0.85,0.85" StartPoint="0.14,0.14">
        <GradientStop Color="#FFABC9EE" Offset="0"/>
        <GradientStop Color="#FF4776B1" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="MilestoneFill_Selected" EndPoint="1.119,1.121" StartPoint="0.101,0.102">
        <GradientStop Color="#FF5C8ECD" Offset="0"/>
        <GradientStop Color="#FF000000" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="MilestoneFill_Highlighted" EndPoint="0.552,0.748" StartPoint="0.448,0.251">
        <GradientStop Color="#FFFCDCDC"/>
        <GradientStop Color="#FFFCC1C1" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="MilestoneStroke_Normal" Color="#FF83A5D2"/>
    <SolidColorBrush x:Key="MilestoneStroke_MouseOver" Color="#FF83A5D2"/>
    <SolidColorBrush x:Key="MilestoneStroke_Selected" Color="#FF5D789A"/>
    <SolidColorBrush x:Key="MilestoneStroke_Highlighted" Color="#FFE22F07"/>
    <LinearGradientBrush x:Key="CellHighlightContainerBackground" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFEE8D1"/>
        <GradientStop Color="#FFFDEEBD" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="CellContainer_InnerBorderBrush" Color="#FFFFFFFF"/>
    <SolidColorBrush x:Key="CellContainerBorder_Highlighted" Color="#FFFFC92B"/>
    <SolidColorBrush x:Key="CellContainer_Foreground" Color="#FF000000"/>
    <SolidColorBrush x:Key="CellEditingForeground" Color="#FF000000"/>
    <SolidColorBrush x:Key="CellEditingBackground" Color="#FFFFFFFF"/>
    <SolidColorBrush x:Key="CellEditingBorderBrush" Color="#FFFFC92B"/>
    <CornerRadius x:Key="CellEditing_CornerRadius">1</CornerRadius>
    <SolidColorBrush x:Key="RelationContainerBorderBrush" Color="#FF4476B1"/>
    <SolidColorBrush x:Key="RelationContainerBorderBrush_Highlighted" Color="#FFE22F07"/>
    <SolidColorBrush x:Key="RelationContainerBorderBrush_MouseOver" Color="#FF474747"/>
    <SolidColorBrush x:Key="GanttViewGridSplitter_Background" Color="#FFF0F0F0"/>
    <LinearGradientBrush x:Key="GroupTickContainerBackground" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFEBF3FF" Offset="0"/>
        <GradientStop Color="#FFD0E8FF" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="GroupTickContainer_OuterBorderBrush" Color="#FF83A5D2"/>
    <SolidColorBrush x:Key="GroupTickContainer_InnerBorderBrush" Color="#FFFFFFFF"/>
    <SolidColorBrush x:Key="GroupTickContainerForeground" Color="#FF000000"/>
    <SolidColorBrush x:Key="AlternatingRowBrush" Color="#FFF5FAFF"/>
    <SolidColorBrush x:Key="MajorTickBrush" Color="#FFCBCBCB"/>
    <SolidColorBrush x:Key="MinorTickBrush" Color="#FFCBCBCB"/>
    <SolidColorBrush x:Key="MajorTickForeground" Color="#FF000000"/>
    <SolidColorBrush x:Key="MinorTickForeground" Color="#FF000000"/>
    <SolidColorBrush x:Key="MajorTickBackground" Color="Transparent"/>
    <SolidColorBrush x:Key="MinorTickBackground" Color="Transparent"/>
    <SolidColorBrush x:Key="BorderContainer_BorderBrush" Color="#FFB3D0F3"/>
    <SolidColorBrush x:Key="BorderContainer_Background" Color="Transparent"/>
    <SolidColorBrush x:Key="SpecialSlotContainer_Background" Color="#97E7F2FC"/>
    <SolidColorBrush x:Key="SpecialSlotContainer_BorderBrush" Color="#FFB3D0F3"/>
    <SolidColorBrush x:Key="CurrentHourTickBrush" Color="#FFFFC92B"/>
    <SolidColorBrush x:Key="GanttDragVisualCue_Foreground" Color="#FF000000"/>
    <SolidColorBrush x:Key="GanttDragVisualCue_BorderBrush" Color="#FF83A5D2"/>
    <LinearGradientBrush x:Key="GanttDragVisualCue_Background" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFFFFFF" Offset="0"/>
        <GradientStop Color="#FFD6E7FF" Offset="1"/>
    </LinearGradientBrush>
    <CornerRadius x:Key="GanttDragVisualCue_CornerRadius">2</CornerRadius>
    <LinearGradientBrush x:Key="DragDropHighlightContainer_Background" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#D8FCE79F" Offset="0.992"/>
        <GradientStop Color="#D8FDD3A8"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="DragDropHighlightContainer_InnerBorderBrush" Color="#D8FFFFFF"/>
    <SolidColorBrush x:Key="DragDropHighlightContainer_OuterBorderBrush" Color="#D8FFC92B"/>
    <SolidColorBrush x:Key="DragDropHighlightContainer_Foreground" Color="#FF000000"/>
    <SolidColorBrush x:Key="DragVisualEffectNormal" Color="#FF848484"/>
    <SolidColorBrush x:Key="DragVisualEffectImportant" Color="#FFDC000C"/>
    <SolidColorBrush x:Key="ResizerFill" Color="#B2FFCD27"/>
    <SolidColorBrush x:Key="ResizerStroke" Color="#FF83A5D2"/>
    <SolidColorBrush x:Key="GanttView_ShapeManipulation_BorderBrush" Color="#FF83A5D2"/>
    <LinearGradientBrush x:Key="GanttView_ShapeManipulation_Background" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFEBF3FF"/>
        <GradientStop Color="#FFD0F3FF" Offset="1"/>
        <GradientStop Color="#FFA1C5F2" Offset="0.43"/>
        <GradientStop Color="#FFCAE1FF" Offset="0.42"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="GanttView_DependenciesIndicator_DragOver" Color="#FFC92931"/>
    <LinearGradientBrush x:Key="GanttView_DependenciesIndicator_MouseOver" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFFD74E" Offset="0.996"/>
        <GradientStop Color="#FFFFDCAB"/>
        <GradientStop Color="#FFFE9227" Offset="0.57"/>
        <GradientStop Color="#FFFFD18F" Offset="0.56"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="DropReorderHighlightContainer_BackgroundBrush" Color="#FFFA8C3B"/>
    <SolidColorBrush x:Key="DropReorderEllipseHighlightContainer_BackgroundBrush" Color="#FFFA8C3B"/>
    <SolidColorBrush x:Key="GanttView_DragCueDependencyIconBrush" Color="#FF848484"/>
    <SolidColorBrush x:Key="TransparentBrush" Color="#01FFFFFF"/>
    <Thickness x:Key="RowSelectionBorderThickness">1 1 0 1</Thickness>
    <Thickness x:Key="CellHighlightBorderThickness">0 1 0 1</Thickness>
    <Thickness x:Key="CellContainerThickness">1 1 1 1</Thickness>
    <SolidColorBrush x:Key="ExpanderFill_Expanded" Color="#FF595959"/>
    <SolidColorBrush x:Key="BorderPresenterHeaderSplitter_BorderBrush" Color="#FFC0C0D6"/>
    <LinearGradientBrush x:Key="OnTimeBrush" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FF71FF00" Offset="0"/>
        <GradientStop Color="#FF4D9434" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="DeadlineBrush" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFF3800" Offset="0"/>
        <GradientStop Color="#FF943434" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="DeadlineFill" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFF3800" Offset="0"/>
        <GradientStop Color="#FF943434" Offset="1"/>
    </LinearGradientBrush>
    <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" FontSize="12"/>
            <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="{StaticResource GanttDragVisualCue_Foreground}"/>
                <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="{StaticResource GanttDragVisualCue_Foreground}"/>
                <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="{StaticResource GanttDragVisualCue_Foreground}"/>
                <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="1"/>
                        </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" Stroke="{StaticResource ResizerStroke}" StrokeThickness="1" StrokeDashArray="2 2" Margin="0 0 -1 0" Opacity="0"/>
            <Rectangle x:Name="PART_PreviewControl" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Fill="{StaticResource ResizerFill}" Opacity="0.5" Visibility="Collapsed"/>
        </Grid>
    </ControlTemplate>
    <Style x:Key="GanttPresenterSplitterStyle" TargetType="telerik:ResizeControl">
        <Setter Property="Background" Value="{StaticResource GanttViewGridSplitter_Background}"/>
        <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:VirtualizedGridPanel x:Name="FrozenCellsPanel"
                    HorizontalAlignment="Stretch"
                    VerticalAlignment="Top"
                    Margin="4 -1 0 0"
                    telerik:GanttPresenterPanel.Column="0"
                    telerik:GanttPresenterPanel.Area="Content"/>
            <telerik:VirtualizedGridPanel x:Name="CellsPanel"
                    telerik:GanttPresenterPanel.Column="1"
                    telerik:GanttPresenterPanel.Area="Content"
                    Margin="-1 -1 4 0"
                    HorizontalAlignment="Left"
                    VerticalAlignment="Top"
                    VerticalOffset="{Binding VerticalOffset, ElementName=FrozenCellsPanel, Mode=TwoWay}"
                    HorizontalOffset="{Binding HorizontalOffset, ElementName=ColumnsPanel, Mode=TwoWay}"/>
            <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:TreeRenderingPanel
                    Orientation="Horizontal"
                    x:Name="FrozenColumnsPanel"
                    telerik:GanttPresenterPanel.Column="0"
                    telerik:GanttPresenterPanel.Area="Header"
                    Margin="4 0 0 0"
                    HorizontalAlignment="Stretch"
                    VerticalAlignment="Stretch"/>
            <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="EventsPanel"
                    telerik:GanttPresenterPanel.Column="2"
                    telerik:GanttPresenterPanel.Area="Content"
                    VerticalOffset="{Binding VerticalOffset, ElementName=CellsPanel, Mode=TwoWay}"
                    Background="Transparent"
                    Margin="0 -1 0 0"
                    VerticalAlignment="Top"
                    HorizontalAlignment="Left"/>
            <telerik:LogicalCanvasPanel x:Name="TimeRulerPanel"
                    telerik:GanttPresenterPanel.Column="2"
                    telerik:GanttPresenterPanel.Area="Header"
                    VerticalAlignment="Bottom"
                    HorizontalAlignment="Left"
                    Background="Transparent"
                    HorizontalOffset="{Binding HorizontalOffset, ElementName=EventsPanel, Mode=TwoWay}"/>
            <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>
            <Border
                    Margin="0 0 4 4"
                    Padding="{TemplateBinding BorderThickness}"
                    Background="{TemplateBinding Background}"
                    BorderBrush="{TemplateBinding BorderBrush}"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    CornerRadius="{StaticResource GanttDragVisualCue_CornerRadius}">
                <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="{StaticResource DragVisualEffectImportant}"
                            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="{StaticResource DragVisualEffectNormal}"
                            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="{StaticResource GanttView_DragCueDependencyIconBrush}"
                            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="{StaticResource DragVisualEffectNormal}"/>
                    <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}"/>
                </Grid>
            </Border>
        </Grid>
    </ControlTemplate>
    <Style x:Key="GanttDragResizeVisualCueStyle" TargetType="gantt:GanttDragResizeVisualCue">
        <Setter Property="FontSize" Value="11"/>
        <Setter Property="Margin" Value="0"/>
        <Setter Property="Padding" Value="4 3"/>
        <Setter Property="Foreground" Value="{StaticResource GanttDragVisualCue_Foreground}"/>
        <Setter Property="BorderBrush" Value="{StaticResource GanttDragVisualCue_BorderBrush}"/>
        <Setter Property="Background" Value="{StaticResource GanttDragVisualCue_Background}"/>
        <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="{StaticResource GanttView_Background}"/>
        <Setter Property="BorderBrush" Value="{StaticResource GanttView_BorderBrush}"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="GapBetweenRows" Value="-1"/>
        <Setter Property="GapBetweenColumns" Value="-1"/>
        <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="9"/>
        <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="{StaticResource DropReorderHighlightContainer_BackgroundBrush}"
                                Fill="{StaticResource DropReorderEllipseHighlightContainer_BackgroundBrush}"
                                StrokeThickness="2"
                                HorizontalAlignment="Left"
                                VerticalAlignment="Center"
                                Width="8"
                                Height="8"/>
                        <Rectangle
                                Grid.Column="1"
                                Fill="{StaticResource DropReorderHighlightContainer_BackgroundBrush}"
                                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="{StaticResource DragDropHighlightContainer_Foreground}"/>
        <Setter Property="Background" Value="{StaticResource DragDropHighlightContainer_Background}"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="scheduling:ZIndexManager.ZIndex" Value="70"/>
        <Setter Property="BorderBrush" Value="{StaticResource DragDropHighlightContainer_OuterBorderBrush}"/>
        <Setter Property="Padding" Value="2 0 0 0"/>
        <Setter Property="FontSize" Value="10"/>
        <Setter Property="FontFamily" Value="Segoe UI"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="MinHeight" Value="17"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gantt:DragResizeSlotHighlightContainer">
                    <Grid>
                        <Border
                                BorderBrush="{TemplateBinding BorderBrush}"
                                CornerRadius="1"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                Background="{TemplateBinding Background}"
                                HorizontalAlignment="Stretch"
                                VerticalAlignment="Stretch">
                            <Rectangle Stroke="{StaticResource DragDropHighlightContainer_InnerBorderBrush}" StrokeThickness="1" Fill="Transparent"/>
                        </Border>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="DragResizeMilestoneSlotHighlightContainerStyle" TargetType="gantt:DragResizeMilestoneSlotHighlightContainer">
        <Setter Property="Opacity" Value="0.6"/>
        <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="{StaticResource SummaryForeground_Selected}"/>
        <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="{StaticResource SummaryBackground_Inverted_DragResize}"
                                Width="9"
                                Height="4"
                                Margin="0 0 0 -9"
                                HorizontalAlignment="Left"/>
                        <Path x:Name="RightMarker"
                                Data="M0,0 L9,0 L4.5,4 z"
                                Grid.Column="2"
                                Stretch="Fill"
                                Fill="{StaticResource SummaryBackground_Inverted_DragResize}"
                                Width="9"
                                Height="4"
                                Margin="0 0 0 -9"
                                HorizontalAlignment="Right"/>
                        <Rectangle x:Name="BackgroundBorder" Grid.ColumnSpan="3" Height="6" Fill="{TemplateBinding Background}"/>
                    </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="{StaticResource RelationContainerBorderBrush}"/>
        <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="{StaticResource RelationContainerBorderBrush}"/>
        <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="{StaticResource GanttView_ShapeManipulation_BorderBrush}"
                    Fill="{StaticResource GanttView_ShapeManipulation_Background}"
                    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="-7 0"/>
        <Setter Property="SummaryContainerMargin" Value="-4 2 -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="MouseOverHighlighted">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="BackgroundBorder" Storyboard.TargetProperty="Background">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource EventBackground_MouseOverHighlighted}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="BackgroundBorder" Storyboard.TargetProperty="BorderBrush">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource Event_OuterBorderBrush_MouseOverHighlighted}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="BackgroundInnerBorder" Storyboard.TargetProperty="Stroke">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource Event_InnerBorderBrush_MouseOverHighlighted}"/>
                            </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="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>
            <Border x:Name="BackgroundBorder"
                    CornerRadius="{StaticResource Event_OuterCornerRadius}"
                    BorderBrush="{TemplateBinding BorderBrush}"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    Background="{TemplateBinding Background}">
                <Rectangle x:Name="BackgroundInnerBorder"
                        Stroke="{StaticResource Event_InnerBorderBrush_Normal}"
                        StrokeThickness="1"
                        Fill="Transparent"
                        RadiusX="{StaticResource Event_RadiusX}"
                        RadiusY="{StaticResource Event_RadiusY}"/>
            </Border>
            <Border x:Name="CommonStatesVisual"
                    Visibility="Collapsed"
                    CornerRadius="{StaticResource Event_OuterCornerRadius}"
                    BorderBrush="{StaticResource Event_OuterBorderBrush_Selected}"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    Background="{StaticResource EventBackground_Selected}">
                <Rectangle
                        Stroke="{StaticResource Event_InnerBorderBrush_Normal}"
                        StrokeThickness="1"
                        Fill="Transparent"
                        RadiusX="{StaticResource Event_RadiusX}"
                        RadiusY="{StaticResource Event_RadiusY}"/>
            </Border>
            <Border x:Name="HighlightVisual"
                    Visibility="Collapsed"
                    Background="{StaticResource EventBackground_Highlighted}"
                    CornerRadius="{StaticResource Event_OuterCornerRadius}"
                    BorderBrush="{StaticResource Event_OuterBorderBrush_Highlighted}"
                    BorderThickness="{TemplateBinding BorderThickness}">
                <Rectangle
                        Stroke="{StaticResource Event_InnerBorderBrush_Normal}"
                        StrokeThickness="1"
                        Fill="Transparent"
                        RadiusX="{StaticResource Event_RadiusX}"
                        RadiusY="{StaticResource Event_RadiusY}"/>
            </Border>
            <Border x:Name="MouseOverVisual"
                    Visibility="Collapsed"
                    CornerRadius="{StaticResource Event_OuterCornerRadius}"
                    BorderBrush="{StaticResource Event_OuterBorderBrush_MouseOver}"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    Background="{StaticResource EventBackground_MouseOver}">
                <Rectangle
                        Stroke="{StaticResource Event_InnerBorderBrush_MouseOver}"
                        StrokeThickness="1"
                        Fill="Transparent"
                        RadiusX="{StaticResource Event_RadiusX}"
                        RadiusY="{StaticResource Event_RadiusY}"/>
            </Border>
            <Grid Grid.Column="1" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
                <Grid.RowDefinitions>
                    <RowDefinition Height="*"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>
                <TextBlock x:Name="txtBlock" Text="{Binding Title}" FontSize="{TemplateBinding FontSize}"/>
                <telerik:ProgressPresenter Grid.Row="1" VerticalAlignment="Bottom" Height="2" Margin="0 0 0 2" HorizontalAlignment="Stretch" Progress="{Binding Progress}" Orientation="Horizontal">
                    <Rectangle Fill="{StaticResource ProgressFill}" 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="{StaticResource EventBackground_Normal}"/>
        <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="{StaticResource EventForeground_Normal}"/>
        <Setter Property="BorderBrush" Value="{StaticResource Event_OuterBorderBrush_Normal}"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Padding" Value="2 0"/>
        <Setter Property="FontFamily" Value="Segoe UI"/>
        <Setter Property="FontSize" Value="10"/>
        <Setter Property="MinHeight" Value="17"/>
        <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 x:Name="BackgroundVisual" 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"
                        Stroke="{StaticResource MilestoneStroke_Selected}"
                        StrokeThickness="1"/>
                <Rectangle x:Name="HighlightVisual"
                        Fill="{StaticResource MilestoneFill_Highlighted}"
                        Visibility="Collapsed"
                        Width="10"
                        Height="10"
                        Stroke="{StaticResource MilestoneStroke_Highlighted}"
                        StrokeThickness="1"/>
                <Grid x:Name="MouseOverVisual" Visibility="Collapsed">
                    <Rectangle Grid.RowSpan="3" Fill="{StaticResource MilestoneFill_MouseOver}" Width="10" Height="10" Stroke="{StaticResource MilestoneStroke_MouseOver}" StrokeThickness="1"/>
                </Grid>
            </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_Inverted_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="BackgroundBorder" Storyboard.TargetProperty="Fill">
                                <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_Inverted_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_Inverted_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="BackgroundBorder" Storyboard.TargetProperty="Fill">
                                <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_Inverted_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>
            <Rectangle Fill="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="{StaticResource SummaryBackground_Inverted}"
                    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_Inverted_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"/>
            <Rectangle x:Name="BackgroundBorder" Grid.ColumnSpan="3" Height="6" Fill="{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="{StaticResource SummaryBackground_Inverted}"
                    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_Inverted_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="Margin" Value="-4 0"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="40"/>
        <Setter Property="Foreground" Value="{StaticResource SummaryForeground_Normal}"/>
        <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="MinHeight" Value="23"/>
        <Setter Property="Padding" Value="5 0"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <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="{StaticResource ColumnHeaderBorderBrush_Normal}"/>
        <Setter Property="Background" Value="{StaticResource ColumnHeaderBackground_Normal}"/>
        <Setter Property="AlternatingBackground" Value="{StaticResource ColumnHeaderBackground_Normal}"/>
        <Setter Property="Foreground" Value="{StaticResource ColumnHeaderForeground_Normal}"/>
        <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="{StaticResource CellContainerThickness}"/>
        <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="{StaticResource CellContainer_Foreground}"/>
        <Setter Property="Padding" Value="5 2"/>
        <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 2"/>
        <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="{StaticResource CellContainer_Foreground}"/>
        <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="{StaticResource CellHighlightBorderThickness}"/>
        <Setter Property="Background" Value="{StaticResource CellHighlightContainerBackground}"/>
        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
        <Setter Property="Padding" Value="5 2"/>
        <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 2">
                            <Rectangle
                                    Stroke="{StaticResource CellContainer_InnerBorderBrush}"
                                    StrokeThickness="{TemplateBinding BorderThickness}"
                                    Fill="Transparent"
                                    Margin="0"
                                    RadiusX="{StaticResource Event_RadiusX}"
                                    RadiusY="{StaticResource Event_RadiusY}"/>
                        </Border>
                        <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="{StaticResource CellEditingForeground}"/>
        <Setter Property="Background" Value="{StaticResource CellEditingBackground}"/>
        <Setter Property="BorderBrush" Value="{StaticResource CellEditingBorderBrush}"/>
        <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}"
                            CornerRadius="{StaticResource CellEditing_CornerRadius}"
                            Margin="2">
                        <ContentPresenter Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                    </Border>
                </ControlTemplate>
            </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.5,0.5 L5.2,5.4 L5.2,5.4 L0.5,10.5 z"
                                        Width="6"
                                        Height="9"
                                        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="{StaticResource ExpanderFill_Checked}"/>
                </Style>
            </Setter.Value>
        </Setter>
        <Setter Property="gantt:TreeCellContainer.ExpandCollapseVisualExpandedStyle">
            <Setter.Value>
                <Style TargetType="Path">
                    <Setter Property="Fill" Value="{StaticResource ExpanderFill_Checked}"/>
                    <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.5,0.5 L5.2,5.4 L5.2,5.4 L0.5,10.5 z"
                        Width="6"
                        Height="9"
                        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="Foreground" Value="{StaticResource CellContainer_Foreground}"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="MinHeight" Value="24"/>
        <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="{StaticResource ExpanderFill_Checked}"/>
                </Style>
            </Setter.Value>
        </Setter>
        <Setter Property="gantt:TreeCellContainer.ExpandCollapseVisualExpandedStyle">
            <Setter.Value>
                <Style TargetType="Path">
                    <Setter Property="Fill" Value="{StaticResource ExpanderFill_Expanded}"/>
                    <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.5,0.5 L5.2,5.4 L5.2,5.4 L0.5,10.5 z"
                        Width="6"
                        Height="9"
                        VerticalAlignment="Stretch"
                        HorizontalAlignment="Stretch"
                        IsHitTestVisible="False"
                        Margin="-4 0 0 0"/>
            </Border>
            <Border
                    Grid.Column="1"
                    BorderBrush="{TemplateBinding BorderBrush}"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    Background="{TemplateBinding Background}"
                    HorizontalAlignment="Stretch"
                    Margin="-4 2 1 2">
                <Rectangle
                        Stroke="{StaticResource CellContainer_InnerBorderBrush}"
                        StrokeThickness="{TemplateBinding BorderThickness}"
                        Fill="Transparent"
                        Margin="0"
                        RadiusX="{StaticResource Event_RadiusX}"
                        RadiusY="{StaticResource Event_RadiusY}"/>
            </Border>
            <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="{StaticResource CellHighlightBorderThickness}"/>
        <Setter Property="Padding" Value="0 0 5 0"/>
        <Setter Property="Background" Value="{StaticResource CellHighlightContainerBackground}"/>
        <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="2"/>
        <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.5,0.5 L5.2,5.4 L5.2,5.4 L0.5,10.5 z"
                                    Width="6"
                                    Height="9"
                                    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="{StaticResource ExpanderFill_Checked}"/>
                </Style>
            </Setter.Value>
        </Setter>
        <Setter Property="gantt:TreeCellContainer.ExpandCollapseVisualExpandedStyle">
            <Setter.Value>
                <Style TargetType="Path">
                    <Setter Property="Fill" Value="{StaticResource ExpanderFill_Expanded}"/>
                    <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="1"/>
        <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="{StaticResource AlternatingRowBrush}"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="4"/>
        <Setter Property="BorderThickness" Value="1"/>
        <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="{StaticResource GroupTickContainerBackground}"/>
        <Setter Property="BorderBrush" Value="{StaticResource GroupTickContainer_OuterBorderBrush}"/>
        <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="{StaticResource GroupTickContainerForeground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerik:GroupTickContainer">
                    <Grid>
                        <Border
                                BorderBrush="{TemplateBinding BorderBrush}"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                Background="{TemplateBinding Background}"
                                HorizontalAlignment="Stretch"
                                VerticalAlignment="Stretch">
                            <Rectangle Stroke="{StaticResource GroupTickContainer_InnerBorderBrush}" StrokeThickness="1" Fill="Transparent"/>
                        </Border>
                        <TextBlock Text="{Binding FormattedValue}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="MajorTickContainerStyle" TargetType="telerik:MajorTickContainer">
        <Setter Property="Background" Value="{StaticResource MajorTickBackground}"/>
        <Setter Property="BorderBrush" Value="{StaticResource MajorTickBrush}"/>
        <Setter Property="Foreground" Value="{StaticResource MajorTickForeground}"/>
        <Setter Property="Padding" Value="3 0 2 0"/>
        <Setter Property="BorderThickness" Value="1 0 0 1"/>
        <Setter Property="FontSize" Value="11"/>
        <Setter Property="FontFamily" Value="Segoe UI Light"/>
        <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="{StaticResource MinorTickForeground}"/>
        <Setter Property="Background" Value="{StaticResource MinorTickBackground}"/>
        <Setter Property="BorderBrush" Value="{StaticResource MinorTickBrush}"/>
        <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="{StaticResource CurrentHourTickBrush}"/>
        <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="{StaticResource GroupContainer_OuterBorderBrush_MouseOver}"/>
        <Setter Property="Background" Value="{StaticResource GroupContainerBackground_MouseOver}"/>
        <Setter Property="BorderThickness" Value="{StaticResource RowSelectionBorderThickness}"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="15"/>
        <Setter Property="Padding" Value="0 2"/>
        <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}">
                        <Rectangle Stroke="{StaticResource GroupContainer_InnerBorderBrush}" StrokeThickness="1" Fill="Transparent"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="RowSelectionContainerStyle" TargetType="telerik:RowSelectionContainer">
        <Setter Property="BorderBrush" Value="{StaticResource GroupContainer_OuterBorderBrush_Selected}"/>
        <Setter Property="BorderThickness" Value="{StaticResource RowSelectionBorderThickness}"/>
        <Setter Property="Padding" Value="0 2"/>
        <Setter Property="Background" Value="{StaticResource GroupContainerBackground_Selected}"/>
        <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}">
                        <Rectangle Stroke="{StaticResource GroupContainer_InnerBorderBrush}" StrokeThickness="1" Fill="Transparent"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="SpecialSlotContainerStyle" TargetType="telerik:SpecialSlotContainer">
        <Setter Property="BorderBrush" Value="{StaticResource SpecialSlotContainer_BorderBrush}"/>
        <Setter Property="Background" Value="{StaticResource SpecialSlotContainer_Background}"/>
        <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">
                    <Rectangle x:Name="Border"
                            Stroke="{TemplateBinding BorderBrush}"
                            StrokeThickness="{TemplateBinding BorderThickness}"
                            Fill="{TemplateBinding Background}"
                            HorizontalAlignment="Stretch"
                            VerticalAlignment="Stretch"/>
                </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"
                                Width="12"
                                Stretch="Fill"
                                VerticalAlignment="Bottom"/>
                        <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"
                                Width="12"
                                Stretch="Fill"
                                VerticalAlignment="Bottom"/>
                        <Path
                                Stretch="Fill"
                                Fill="{TemplateBinding Foreground}"
                                Data="F1 M30,24 L36,24 36,30 41,30 33,38 25,30 30,30 30,24 z"
                                Width="10"
                                Height="8"
                                VerticalAlignment="Bottom"
                                Margin="0 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>
