<ResourceDictionary
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        xmlns:c="http://schemas.telerik.com/2008/xaml/compile"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="c"
        xmlns:gantt="clr-namespace:Telerik.Windows.Controls.GanttView;assembly=Telerik.Windows.Controls.GanttView"
        xmlns:gantt1="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GanttView"
        xmlns:scheduling="clr-namespace:Telerik.Windows.Controls.Scheduling;assembly=Telerik.Windows.Scheduling.Core">
    <ResourceDictionary.MergedDictionaries>
        <telerik:GreenResourceDictionary/>
    </ResourceDictionary.MergedDictionaries>
    <Geometry x:Key="ArrowTopLeft8x8">M0,0 L8,0 L0,8 z</Geometry>
    <Geometry x:Key="ArrowTopRight8x8">M0,0 L8,0 8,8 z</Geometry>
    <Geometry x:Key="ArrowRight5x9">M0,0 L0,9 L5,4.5z</Geometry>
    <Geometry x:Key="ArrowRight4x5">M0,0 L4,2.5 L0,5 z</Geometry>
    <Geometry x:Key="PointerDown14x21">M5,0 L9,0 9,13 14,7 14,13 7,21 0,13 0,7 5,13z</Geometry>
    <Geometry x:Key="BeforeDragIcon">M6,3 L11,3 L11,4 L6,4 z M4,5 L13,5 L13,6 L4,6 z M6,7 L11,7 L11,8 L6,8 z M4,3.5 L0,7 L0,0 z</Geometry>
    <Geometry x:Key="AfterDragIcon">M2,4 L7,4 L7,5 L2,5 z M0,2 L9,2 L9,3 L0,3 z M13,1 L13,8 L9,4.5 z M2,0 L7,0 L7,1 L2,1 z</Geometry>
    <Geometry x:Key="InsertInsideDragIcon">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</Geometry>
    <Geometry x:Key="NoneEffect">M5,0 C3.7,0 2.4,0.4 1.4,1.4 C-0.4,3.4 -0.4,6.5 1.4,8.5 C3.4,10.4 6.5,10.4 8.5,8.5 C10.4,6.5 10.4,3.4 8.5,1.4 C7.5,0.4 6.2,0 5,0 C5,0 5,0 5,0 z M5,1.9 C5.7,1.9 6.5,2.2 7.1,2.8 C8,3.7 8.2,5.1 7.7,6.2 C7.7,6.2 3.7,2.2 3.7,2.2 C4.1,2 4.5,1.9 5,1.9 C5,1.9 5,1.9 5,1.9 z M2.3,3.5 C2.3,3.5 6.4,7.6 6.4,7.6 C5.3,8.3 3.8,8.1 2.8,7.1 C1.8,6.1 1.6,4.6 2.3,3.5 C2.3,3.5 2.3,3.5 2.3,3.5 z M2.3,3.5 L2.3,3.5 L2.3,3.5 z</Geometry>
    <Geometry x:Key="RelationIcon">M3.4,5 C3.7,5 4,5 4.5,5.2 C5,5.3 4.6,6.7 4.5,6.9 C3.9,6.6 3.2,6.7 2.8,6.8 L2.7,6.9 C2.1,7.3 1.7,8 1.7,8.9 L1.7,11.1 C1.7,12.3 2.5,13.3 3.4,13.3 C4.4,13.3 5.1,12.4 5.2,10.3 C5.2,10.3 7,9.4 7,9.4 L6.9,11.7 C6.9,13.5 5.4,15 3.4,15 C1.5,15 0,13.5 0,11.7 L0,8.3 C0,6.5 1.5,5 3.4,5 z M3.7,0 C5.6,0 7.1,1.4 7.1,3.3 L7.1,6.6 C7.1,8.5 5.6,9.9 3.7,9.9 C3.4,9.9 3.2,10 2.7,9.8 C2.2,9.7 2.5,8.2 2.6,8.1 C3.2,8.3 3.9,8.2 4.3,8.1 L4.4,8.1 C5,7.7 5.4,6.9 5.4,6.1 L5.4,3.8 C5.4,2.6 4.6,1.5 3.7,1.6 C2.4,1.7 1.9,2.9 2,4.4 C2,4.4 0.1,5.9 0.1,5.9 L0.2,3.3 C0.2,1.4 1.8,0 3.7,0 z</Geometry>
    <telerik:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
    <telerik:InvertedBooleanToVisibilityConverter x:Key="InvertedBooleanToVisibilityConverter"/>
    <telerik:UppercaseConverter x:Key="UpperCaseStringConverter"/>
    <gantt1:DateTimeToCurrentUICultureStringConverter x:Key="DateTimeToCurrentUICultureStringConverter"/>
    <telerik:DragDropBooleanToVisibilityConverter x:Key="DragDropBooleanToVisibilityConverter"/>
    <SolidColorBrush x:Key="SemiTransparentBrush" Color="#01FFFFFF"/>
    <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"
                    Foreground="{telerik:GreenResource ResourceKey=MarkerBrush}"
                    FontSize="{telerik:GreenResource ResourceKey=FontSizeL}"/>
            <TextBlock telerik:LocalizationManager.ResourceKey="Start" Grid.Row="1" Margin="0 0 4 0" Foreground="{telerik:GreenResource ResourceKey=MarkerBrush}"/>
            <TextBlock
                    Text="{Binding DestinationSlot.Start, Converter={StaticResource DateTimeToCurrentUICultureStringConverter}}"
                    Grid.Row="1"
                    Grid.Column="1"
                    Foreground="{telerik:GreenResource ResourceKey=AccentLowBrush}"/>
            <TextBlock telerik:LocalizationManager.ResourceKey="End" Grid.Row="2" Margin="0 0 4 0" Foreground="{telerik:GreenResource ResourceKey=MarkerBrush}"/>
            <TextBlock
                    Text="{Binding DestinationSlot.End, Converter={StaticResource DateTimeToCurrentUICultureStringConverter}}"
                    Grid.Row="2"
                    Grid.Column="1"
                    Foreground="{telerik:GreenResource ResourceKey=AccentLowBrush}"/>
        </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" Foreground="{telerik:GreenResource ResourceKey=MarkerBrush}"/>
                <TextBlock Text="{Binding DestinationSlot.Source.Title}" Foreground="{telerik:GreenResource ResourceKey=AccentLowBrush}"/>
            </StackPanel>
            <StackPanel Grid.Row="1" Orientation="Horizontal">
                <TextBlock telerik:LocalizationManager.ResourceKey="DrawRelationTo" Foreground="{telerik:GreenResource ResourceKey=MarkerBrush}"/>
                <TextBlock Text="{Binding DestinationSlot.Target.Title}" Foreground="{telerik:GreenResource ResourceKey=AccentLowBrush}"/>
            </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" Foreground="{telerik:GreenResource ResourceKey=MarkerBrush}"/>
                <TextBlock Text="{Binding TargetItem.Title}" Foreground="{telerik:GreenResource ResourceKey=AccentLowBrush}"/>
            </StackPanel>
            <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Left">
                <Path
                        Data="{StaticResource BeforeDragIcon}"
                        Height="8"
                        Stretch="Fill"
                        VerticalAlignment="Center"
                        Margin="0 0 4 0"
                        HorizontalAlignment="Left"
                        Visibility="{Binding DestinationSlot.DropPosition, Converter={StaticResource DragDropBooleanToVisibilityConverter}, ConverterParameter=Before}"
                        Fill="{telerik:GreenResource ResourceKey=AccentLowBrush}"/>
                <Path
                        Data="{StaticResource AfterDragIcon}"
                        HorizontalAlignment="Left"
                        Height="8"
                        Stretch="Fill"
                        VerticalAlignment="Center"
                        Margin="0 0 4 0"
                        Visibility="{Binding DestinationSlot.DropPosition, Converter={StaticResource DragDropBooleanToVisibilityConverter}, ConverterParameter=After}"
                        Fill="{telerik:GreenResource ResourceKey=AccentLowBrush}"/>
                <Path
                        Data="{StaticResource InsertInsideDragIcon}"
                        Margin="0 0 4 0"
                        Height="8"
                        Stretch="Fill"
                        VerticalAlignment="Center"
                        Width="8"
                        HorizontalAlignment="Left"
                        Visibility="{Binding DestinationSlot.DropPosition, Converter={StaticResource DragDropBooleanToVisibilityConverter}, ConverterParameter=Inside}"
                        Fill="{telerik:GreenResource ResourceKey=AccentLowBrush}"/>
                <TextBlock Text="{Binding DestinationSlot.DropPosition}" Foreground="{telerik:GreenResource ResourceKey=MarkerBrush}"/>
                <TextBlock Text=":" Margin="0 0 4 0" Foreground="{telerik:GreenResource ResourceKey=MarkerBrush}"/>
                <TextBlock Text="{Binding DestinationSlot.GroupKey.Title}" Foreground="{telerik:GreenResource ResourceKey=AccentLowBrush}"/>
            </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" Fill="Transparent" Margin="0" Opacity="0"/>
            <Rectangle x:Name="PART_PreviewControl"
                    VerticalAlignment="Stretch"
                    HorizontalAlignment="Stretch"
                    Fill="{telerik:GreenResource ResourceKey=AccentLowBrush}"
                    Opacity="0.5"
                    Visibility="Collapsed"
                    Width="6"/>
        </Grid>
    </ControlTemplate>
    <Style x:Key="GanttPresenterSplitterStyle" TargetType="telerik:ResizeControl">
        <Setter Property="Background" Value="{telerik:GreenResource ResourceKey=HighBrush}"/>
        <Setter Property="BorderBrush" Value="{telerik:GreenResource ResourceKey=BasicBrush}"/>
        <Setter Property="BorderThickness" Value="1 0"/>
        <Setter Property="Margin" Value="0 0 -1 0"/>
        <Setter Property="Width" Value="8"/>
        <Setter Property="HorizontalAlignment" Value="Right"/>
        <Setter Property="VerticalAlignment" Value="Stretch"/>
        <Setter Property="scheduling:ZIndexManager.ZIndex" Value="100"/>
        <Setter Property="ShowsPreview" Value="True"/>
        <Setter Property="IsTabStop" Value="True"/>
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <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 SemiTransparentBrush}"/>
        <Setter Property="BorderBrush" Value="{telerik:GreenResource ResourceKey=BasicBrush}"/>
        <Setter Property="BorderThickness" Value="0 0 1 0"/>
        <Setter Property="scheduling:ZIndexManager.ZIndex" Value="100"/>
    </Style>
    <ControlTemplate x:Key="GanttItemsPresenterTemplate" TargetType="gantt:GanttItemsPresenter">
        <telerik:GanttPresenterPanel>
            <telerik:GanttPresenterPanel.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="*" MinWidth="3"/>
                <ColumnDefinition Width="3*"/>
                <ColumnDefinition Width="Auto"/>
            </telerik:GanttPresenterPanel.ColumnDefinitions>
            <telerik:TreeRenderingPanel x:Name="FrozenColumnsPanel"
                    Orientation="Horizontal"
                    telerik:GanttPresenterPanel.Column="0"
                    telerik:GanttPresenterPanel.Area="Header"
                    HorizontalAlignment="Stretch"
                    VerticalAlignment="Stretch"/>
            <telerik:VirtualizedGridPanel x:Name="FrozenCellsPanel" HorizontalAlignment="Stretch" VerticalAlignment="Top" telerik:GanttPresenterPanel.Column="0" telerik:GanttPresenterPanel.Area="Content"/>
            <telerik:TreeRenderingPanel x:Name="ColumnsPanel"
                    Orientation="Horizontal"
                    telerik:GanttPresenterPanel.Column="1"
                    telerik:GanttPresenterPanel.Area="Header"
                    HorizontalAlignment="Left"
                    VerticalAlignment="Stretch"
                    Margin="-1 0 4 0"/>
            <telerik:VirtualizedGridPanel x:Name="CellsPanel"
                    telerik:GanttPresenterPanel.Column="1"
                    telerik:GanttPresenterPanel.Area="Content"
                    Margin="-1 0 4 0"
                    HorizontalAlignment="Left"
                    VerticalAlignment="Top"
                    VerticalOffset="{Binding VerticalOffset, ElementName=FrozenCellsPanel, Mode=TwoWay}"
                    HorizontalOffset="{Binding HorizontalOffset, ElementName=ColumnsPanel, Mode=TwoWay}"/>
            <ScrollBar
                    telerik:GanttPresenterPanel.Column="1"
                    telerik:GanttPresenterPanel.Area="ScrollBar"
                    Orientation="Horizontal"
                    Minimum="0"
                    Maximum="{Binding ExtentWidth, ElementName=ColumnsPanel}"
                    Value="{Binding HorizontalOffset, ElementName=ColumnsPanel, Mode=TwoWay}"
                    ViewportSize="{Binding ViewportWidth, ElementName=ColumnsPanel}"
                    SmallChange="40"
                    LargeChange="{Binding ViewportWidth, ElementName=ColumnsPanel}"
                    Visibility="{Binding CalculatedHorizontalScrollBarVisibility, ElementName=ColumnsPanel}"
                    Margin="0 0 4 0"/>
            <telerik:ResizeControl telerik:GanttPresenterPanel.Column="1" telerik:GanttPresenterPanel.Area="Splitter" Style="{StaticResource GanttPresenterSplitterStyle}"/>
            <telerik:LogicalCanvasPanel x:Name="TimeRulerPanel"
                    telerik:GanttPresenterPanel.Column="2"
                    telerik:GanttPresenterPanel.Area="Header"
                    VerticalAlignment="Bottom"
                    HorizontalAlignment="Left"
                    FocusVisualStyle="{x:Null}"
                    HorizontalOffset="{Binding HorizontalOffset, ElementName=EventsPanel, Mode=TwoWay}"
                    Margin="0 0 -18 0"/>
            <telerik:LogicalCanvasPanel x:Name="EventsPanel"
                    telerik:GanttPresenterPanel.Column="2"
                    telerik:GanttPresenterPanel.Area="Content"
                    VerticalOffset="{Binding VerticalOffset, ElementName=CellsPanel, Mode=TwoWay}"
                    Background="Transparent"
                    VerticalAlignment="Top"
                    HorizontalAlignment="Left"/>
            <ScrollBar
                    telerik:GanttPresenterPanel.Column="2"
                    telerik:GanttPresenterPanel.Area="ScrollBar"
                    Orientation="Horizontal"
                    Minimum="0"
                    Maximum="{Binding ExtentWidth, ElementName=EventsPanel}"
                    Value="{Binding HorizontalOffset, ElementName=EventsPanel, Mode=TwoWay}"
                    ViewportSize="{Binding ViewportWidth, ElementName=EventsPanel}"
                    SmallChange="20"
                    LargeChange="{Binding ViewportWidth, ElementName=EventsPanel}"
                    Visibility="{Binding CalculatedHorizontalScrollBarVisibility, ElementName=EventsPanel}"/>
            <ScrollBar
                    telerik:GanttPresenterPanel.Column="3"
                    telerik:GanttPresenterPanel.Area="Content"
                    Orientation="Vertical"
                    Minimum="0"
                    Maximum="{Binding ExtentHeight, ElementName=CellsPanel}"
                    Value="{Binding VerticalOffset, ElementName=CellsPanel, Mode=TwoWay}"
                    ViewportSize="{Binding ViewportHeight, ElementName=CellsPanel}"
                    Visibility="{Binding CalculatedVerticalScrollBarVisibility, ElementName=CellsPanel}"
                    SmallChange="10"
                    LargeChange="{Binding ViewportHeight, ElementName=CellsPanel}"/>
        </telerik:GanttPresenterPanel>
    </ControlTemplate>
    <Style x:Key="GanttItemsPresenterStyle" TargetType="gantt:GanttItemsPresenter">
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="Template" Value="{StaticResource GanttItemsPresenterTemplate}"/>
    </Style>
    <ControlTemplate x:Key="GanttDragResizeVisualCueControlTemplate" TargetType="gantt:GanttDragResizeVisualCue">
        <Grid>
            <VisualStateManager.VisualStateGroups>
                <VisualStateGroup x:Name="EffectStates">
                    <VisualState x:Name="None">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="NoneEffect" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Move"/>
                    <VisualState x:Name="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>
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>
            <Grid>
                <Border
                        Padding="{TemplateBinding BorderThickness}"
                        Background="{TemplateBinding Background}"
                        BorderBrush="{TemplateBinding BorderBrush}"
                        BorderThickness="{TemplateBinding BorderThickness}"
                        CornerRadius="{telerik:GreenResource ResourceKey=CornerRadius}"
                        Opacity="0.9"/>
                <Grid Margin="{TemplateBinding Padding}">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>
                    <Path x:Name="NoneEffect"
                            Visibility="Collapsed"
                            Margin="1 2 3 0"
                            Width="10"
                            Height="10"
                            HorizontalAlignment="Left"
                            VerticalAlignment="Top"
                            Data="{StaticResource NoneEffect}"
                            Fill="{telerik:GreenResource ResourceKey=ValidationBrush}"/>
                    <Path x:Name="LinkEffect"
                            Visibility="Collapsed"
                            HorizontalAlignment="Left"
                            VerticalAlignment="Top"
                            Margin="4 2 4 3"
                            RenderTransformOrigin="0.5 0.5"
                            Stretch="Fill"
                            UseLayoutRounding="False"
                            Width="6"
                            Height="13"
                            Data="{StaticResource RelationIcon}"
                            Fill="{telerik:GreenResource ResourceKey=AccentLowBrush}">
                        <Path.RenderTransform>
                            <TransformGroup>
                                <RotateTransform Angle="45"/>
                            </TransformGroup>
                        </Path.RenderTransform>
                    </Path>
                    <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>
            </Grid>
        </Grid>
    </ControlTemplate>
    <Style x:Key="GanttDragResizeVisualCueStyle" TargetType="gantt:GanttDragResizeVisualCue">
        <Setter Property="FontFamily" Value="{telerik:GreenResource ResourceKey=FontFamily}"/>
        <Setter Property="FontSize" Value="{telerik:GreenResource ResourceKey=FontSize}"/>
        <Setter Property="Foreground" Value="{telerik:GreenResource ResourceKey=MarkerBrush}"/>
        <Setter Property="Background" Value="{telerik:GreenResource ResourceKey=AlternativeBrush}"/>
        <Setter Property="BorderBrush" Value="{telerik:GreenResource ResourceKey=BasicBrush}"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Padding" Value="4"/>
        <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="FontFamily" Value="{telerik:GreenResource ResourceKey=FontFamily}"/>
        <Setter Property="FontSize" Value="{telerik:GreenResource ResourceKey=FontSize}"/>
        <Setter Property="Background" Value="{telerik:GreenResource ResourceKey=PrimaryBrush}"/>
        <Setter Property="BorderBrush" Value="{telerik:GreenResource ResourceKey=BasicBrush}"/>
        <Setter Property="BorderThickness" Value="1 0 1 1"/>
        <Setter Property="GapBetweenRows" Value="0"/>
        <Setter Property="GapBetweenColumns" Value="0"/>
        <Setter Property="UseLayoutRounding" Value="True"/>
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <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="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gantt1:RadGanttView">
                    <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}">
                        <gantt:GanttItemsPresenter x:Name="ItemsPresenter" Margin="{TemplateBinding Padding}"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="DropReorderHighlightContainerStyle" TargetType="gantt:DropReorderHighlightContainer">
        <Setter Property="Height" Value="8"/>
        <Setter Property="Margin" Value="0 -4"/>
        <Setter Property="IsHitTestVisible" Value="False"/>
        <Setter Property="UseLayoutRounding" Value="True"/>
        <Setter Property="scheduling:ZIndexManager.ZIndex" Value="105"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gantt:DropReorderHighlightContainer">
                    <Grid>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="Doted">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="DotedElement" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="*"/>
                        </Grid.ColumnDefinitions>
                        <Ellipse x:Name="DotedElement"
                                Visibility="Collapsed"
                                Stroke="{telerik:GreenResource ResourceKey=AccentLowBrush}"
                                Fill="{telerik:GreenResource ResourceKey=AlternativeBrush}"
                                StrokeThickness="2"
                                HorizontalAlignment="Left"
                                VerticalAlignment="Center"
                                Width="8"
                                Height="8"/>
                        <Rectangle
                                Grid.Column="1"
                                Fill="{telerik:GreenResource ResourceKey=AccentLowBrush}"
                                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="Foreground" Value="{telerik:GreenResource ResourceKey=MarkerBrush}"/>
        <Setter Property="Background" Value="{telerik:GreenResource ResourceKey=SemiAccentLowBrush}"/>
        <Setter Property="BorderBrush" Value="{x:Null}"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="Margin" Value="0 -1 0 0"/>
        <Setter Property="Padding" Value="5 0"/>
        <Setter Property="MinHeight" Value="19"/>
        <Setter Property="IsHitTestVisible" Value="False"/>
        <Setter Property="scheduling:ZIndexManager.ZIndex" Value="70"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gantt:DragResizeSlotHighlightContainer">
                    <Grid>
                        <Border Background="{TemplateBinding Background}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="DragResizeMilestoneSlotHighlightContainerStyle" TargetType="gantt:DragResizeMilestoneSlotHighlightContainer">
        <Setter Property="Background" Value="{telerik:GreenResource ResourceKey=SemiAccentLowBrush}"/>
        <Setter Property="BorderBrush" Value="{telerik:GreenResource ResourceKey=SemiAccentLowBrush}"/>
        <Setter Property="Margin" Value="-9 0"/>
        <Setter Property="Width" Value="12"/>
        <Setter Property="Height" Value="12"/>
        <Setter Property="HorizontalContentAlignment" Value="Left"/>
        <Setter Property="VerticalContentAlignment" Value="Top"/>
        <Setter Property="IsHitTestVisible" Value="False"/>
        <Setter Property="scheduling:ZIndexManager.ZIndex" Value="45"/>
        <Setter Property="telerik:TouchManager.DragStartTrigger" Value="TouchMove"/>
        <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="Foreground" Value="{telerik:GreenResource ResourceKey=MarkerBrush}"/>
        <Setter Property="Background" Value="{telerik:GreenResource ResourceKey=SemiAccentLowBrush}"/>
        <Setter Property="Margin" Value="-4 1 -4 0"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="IsHitTestVisible" Value="False"/>
        <Setter Property="scheduling:ZIndexManager.ZIndex" Value="45"/>
        <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="{StaticResource ArrowTopLeft8x8}"
                                Stretch="Fill"
                                Fill="{TemplateBinding Background}"
                                Width="8"
                                Height="8"
                                Margin="0 1 0 -18"
                                HorizontalAlignment="Left"/>
                        <Border x:Name="BackgroundBorder" Grid.ColumnSpan="3" Height="12" Background="{TemplateBinding Background}"/>
                        <Path x:Name="RightMarker"
                                Data="{StaticResource ArrowTopRight8x8}"
                                Grid.Column="2"
                                Stretch="Fill"
                                Fill="{TemplateBinding Background}"
                                Width="8"
                                Height="8"
                                Margin="0 1 0 -18"
                                HorizontalAlignment="Right"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <ControlTemplate x:Key="RelationContainerTemplate" TargetType="gantt:RelationContainer">
        <Grid Background="{TemplateBinding Background}">
            <VisualStateManager.VisualStateGroups>
                <VisualStateGroup x:Name="CommonStates">
                    <VisualState x:Name="Normal"/>
                    <VisualState x:Name="MouseOver">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="ArrowPath" Storyboard.TargetProperty="Stroke">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{telerik:GreenResource ResourceKey=SelectedBrush}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="EndArrow" Storyboard.TargetProperty="Fill">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{telerik:GreenResource ResourceKey=SelectedBrush}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="HighlightArrowPath" Storyboard.TargetProperty="Stroke">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{telerik:GreenResource ResourceKey=SelectedBrush}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetName="HighlightEndArrow" Storyboard.TargetProperty="Fill">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{telerik:GreenResource ResourceKey=SelectedBrush}"/>
                            </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="{TemplateBinding Foreground}"
                    StrokeThickness="{TemplateBinding ArrowThickness}"
                    StrokeEndLineCap="Square"
                    StrokeStartLineCap="Square"/>
            <Grid x:Name="EndArrowHost" Height="5" Margin="0 -2" Width="4" RenderTransformOrigin="1, .5">
                <Path x:Name="EndArrow" Data="{StaticResource ArrowRight4x5}" Fill="{TemplateBinding Foreground}" Stretch="None"/>
                <Path x:Name="HighlightEndArrow" Visibility="Collapsed" Data="{StaticResource ArrowRight4x5}" Fill="{TemplateBinding Foreground}" Stretch="None"/>
            </Grid>
        </Grid>
    </ControlTemplate>
    <Style x:Key="RelationContainerStyle" TargetType="gantt:RelationContainer">
        <Setter Property="Foreground" Value="{telerik:GreenResource ResourceKey=AccentLowBrush}"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="ArrowThickness" Value="1"/>
        <Setter Property="Margin" Value="0 12 0 13"/>
        <Setter Property="SummaryContainerMargin" Value="-4 0"/>
        <Setter Property="MilestoneContainerMargin" Value="-9 0"/>
        <Setter Property="MinEdgeLength" Value="14"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="20"/>
        <Setter Property="UseLayoutRounding" Value="True"/>
        <Setter Property="Template" Value="{StaticResource RelationContainerTemplate}"/>
    </Style>
    <Style x:Key="DragRelationSlotClontainerStyle" TargetType="gantt:DragRelationSlotContainer">
        <Setter Property="Foreground" Value="{telerik:GreenResource ResourceKey=AccentLowBrush}"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="Margin" Value="0 12 0 13"/>
        <Setter Property="ArrowThickness" Value="1"/>
        <Setter Property="UseLayoutRounding" Value="True"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="10"/>
        <Setter Property="IsHitTestVisible" Value="False"/>
        <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="5" Margin="0 -2" Width="4" RenderTransformOrigin="1, .5">
                            <Path x:Name="EndArrow" Data="{StaticResource ArrowRight4x5}" 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="{telerik:GreenResource ResourceKey=MouseOverBrush}"/>
                            </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="{telerik:GreenResource ResourceKey=ValidationBrush}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <DoubleAnimation Duration="0:0:0.1" To="1.5" Storyboard.TargetName="EllipseScale" Storyboard.TargetProperty="ScaleX"/>
                            <DoubleAnimation Duration="0:0:0.1" To="1.5" Storyboard.TargetName="EllipseScale" Storyboard.TargetProperty="ScaleY"/>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Visual" Storyboard.TargetProperty="Margin">
                                <DiscreteObjectKeyFrame KeyTime="0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Thickness>-1 0</Thickness>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Disabled"/>
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>
            <Ellipse x:Name="Visual"
                    Width="7"
                    Height="7"
                    Stroke="{telerik:GreenResource ResourceKey=AccentLowBrush}"
                    Fill="{telerik:GreenResource ResourceKey=AlternativeBrush}"
                    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"
                    telerik:TouchManager.DragStartTrigger="TapHoldAndMove"
                    scheduling:DragDropElement.Type="LinkStart"
                    Margin="-7 0 0 0"
                    Style="{StaticResource DependencyIndicatorStyle}"
                    HorizontalAlignment="Left"
                    VerticalAlignment="Center"/>
            <gantt:DependencyIndicator x:Name="CreateDependencyFromEnd"
                    telerik:TouchManager.DragStartTrigger="TapHoldAndMove"
                    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="-8 0"/>
        <Setter Property="SummaryContainerMargin" Value="-4 0"/>
        <Setter Property="Template" Value="{StaticResource EventDecoratorContainerTemplate}"/>
    </Style>
    <DataTemplate x:Key="EventToolTipTemplate">
        <Grid Margin="2">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="*" MinWidth="130"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <TextBlock Text="{Binding Title}" Grid.ColumnSpan="2" Margin="0" TextWrapping="NoWrap" TextTrimming="None"/>
            <TextBlock telerik:LocalizationManager.ResourceKey="Start" Grid.Row="1" Margin="0 0 3 0"/>
            <TextBlock Text="{Binding Start, Converter={StaticResource DateTimeToCurrentUICultureStringConverter}}" Grid.Row="1" Grid.Column="1" TextWrapping="NoWrap" TextTrimming="None"/>
            <TextBlock telerik:LocalizationManager.ResourceKey="End" Grid.Row="2" Margin="0 0 3 0"/>
            <TextBlock Text="{Binding End, Converter={StaticResource DateTimeToCurrentUICultureStringConverter}}" Grid.Row="2" Grid.Column="1" TextWrapping="NoWrap" TextTrimming="None"/>
        </Grid>
    </DataTemplate>
    <ControlTemplate x:Key="EventContainerTemplate" TargetType="gantt:EventContainer">
        <Grid>
            <VisualStateManager.VisualStateGroups>
                <VisualStateGroup x:Name="CommonStates">
                    <VisualState x:Name="Normal"/>
                    <VisualState x:Name="MouseOver">
                        <Storyboard>
                            <DoubleAnimation Duration="0" To="0.25" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="MouseOverVisual"/>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Disabled"/>
                    <VisualState x:Name="MouseOverHighlighted">
                        <Storyboard>
                            <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="MouseOverHighlightedVisual"/>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
                <VisualStateGroup x:Name="SelectionStates">
                    <VisualState x:Name="Unselected"/>
                    <VisualState x:Name="Selected">
                        <Storyboard>
                            <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="SelectedVisual"/>
                        </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>
                            <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="HighlightVisual"/>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>
            <telerik:ToolTipManager.ToolTip>
                <ToolTip ContentTemplate="{TemplateBinding ToolTipTemplate}" Content="{Binding OriginalEvent}"/>
            </telerik:ToolTipManager.ToolTip>
            <Border x:Name="Background"
                    Background="{TemplateBinding Background}"
                    BorderBrush="{TemplateBinding BorderBrush}"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    CornerRadius="{telerik:GreenResource ResourceKey=CornerRadius}"/>
            <Border x:Name="SelectedVisual"
                    Opacity="0"
                    BorderBrush="{TemplateBinding BorderBrush}"
                    Background="{telerik:GreenResource ResourceKey=AccentLowBrush}"
                    CornerRadius="{telerik:GreenResource ResourceKey=CornerRadius}"/>
            <Border x:Name="HighlightVisual"
                    Opacity="0"
                    Background="{telerik:GreenResource ResourceKey=ValidationBrush}"
                    BorderBrush="{telerik:GreenResource ResourceKey=ValidationBrush}"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    CornerRadius="{telerik:GreenResource ResourceKey=CornerRadius}"/>
            <Border x:Name="MouseOverVisual"
                    Opacity="0"
                    Background="{telerik:GreenResource ResourceKey=SelectedBrush}"
                    BorderBrush="{TemplateBinding BorderBrush}"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    CornerRadius="{telerik:GreenResource ResourceKey=CornerRadius}"/>
            <Border x:Name="MouseOverHighlightedVisual"
                    Opacity="0"
                    Background="{telerik:GreenResource ResourceKey=AccentLowBrush}"
                    BorderBrush="{TemplateBinding BorderBrush}"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    CornerRadius="{telerik:GreenResource ResourceKey=CornerRadius}"/>
            <Grid Margin="{TemplateBinding Padding}">
                <Grid.RowDefinitions>
                    <RowDefinition Height="*"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>
                <TextBlock x:Name="txtBlock" Text="{Binding Title}" FontSize="{TemplateBinding FontSize}"/>
                <telerik:ProgressPresenter Grid.Row="1" Height="2" Margin="0 0 0 2" HorizontalAlignment="Stretch" Progress="{Binding Progress}" Orientation="Horizontal">
                    <Rectangle Opacity="0.7" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Fill="{telerik:GreenResource ResourceKey=SelectedBrush}"/>
                </telerik:ProgressPresenter>
            </Grid>
        </Grid>
    </ControlTemplate>
    <Style x:Key="EventContainerStyle" TargetType="gantt:EventContainer">
        <Setter Property="FontFamily" Value="{telerik:GreenResource ResourceKey=FontFamily}"/>
        <Setter Property="FontSize" Value="{telerik:GreenResource ResourceKey=FontSizeS}"/>
        <Setter Property="Foreground" Value="{telerik:GreenResource ResourceKey=MarkerBrush}"/>
        <Setter Property="Background" Value="{telerik:GreenResource ResourceKey=AccentHighBrush}"/>
        <Setter Property="BorderBrush" Value="{x:Null}"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="Padding" Value="4 0"/>
        <Setter Property="Margin" Value="0 -1 0 0"/>
        <Setter Property="MinHeight" Value="17"/>
        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="40"/>
        <Setter Property="scheduling:DragDropElement.Type" Value="Drag"/>
        <Setter Property="telerik:TouchManager.DragStartTrigger" Value="TapHoldAndMove"/>
        <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 SemiTransparentBrush}">
            <VisualStateManager.VisualStateGroups>
                <VisualStateGroup x:Name="CommonStates">
                    <VisualState x:Name="Normal"/>
                    <VisualState x:Name="MouseOver">
                        <Storyboard>
                            <DoubleAnimation Duration="0" To="0.25" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="MouseOverVisual"/>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="MouseOverHighlighted">
                        <Storyboard>
                            <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="MouseOverHighlightedVisual"/>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Disabled"/>
                </VisualStateGroup>
                <VisualStateGroup x:Name="SelectionStates">
                    <VisualState x:Name="Unselected"/>
                    <VisualState x:Name="Selected">
                        <Storyboard>
                            <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="SelectedVisual"/>
                        </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>
                            <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="HighlightVisual"/>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>
            <Grid RenderTransformOrigin="0.5,0.5">
                <Grid.RenderTransform>
                    <RotateTransform Angle="45"/>
                </Grid.RenderTransform>
                <telerik:ToolTipManager.ToolTip>
                    <ToolTip ContentTemplate="{TemplateBinding ToolTipTemplate}" Content="{Binding OriginalEvent}"/>
                </telerik:ToolTipManager.ToolTip>
                <Rectangle Fill="{TemplateBinding Background}" Width="12" Height="12" Margin="2"/>
                <Rectangle x:Name="SelectedVisual"
                        Fill="{telerik:GreenResource ResourceKey=AccentLowBrush}"
                        Opacity="0"
                        Width="12"
                        Height="12"
                        HorizontalAlignment="Center"
                        VerticalAlignment="Center"/>
                <Rectangle x:Name="HighlightVisual" Fill="{telerik:GreenResource ResourceKey=ValidationBrush}" Opacity="0" Width="12" Height="12"/>
                <Rectangle x:Name="MouseOverVisual" Fill="{telerik:GreenResource ResourceKey=SelectedBrush}" Opacity="0" Width="12" Height="12" Margin="1"/>
                <Rectangle x:Name="MouseOverHighlightedVisual" Fill="{telerik:GreenResource ResourceKey=AccentLowBrush}" Opacity="0" Width="12" Height="12" Margin="1"/>
            </Grid>
        </Grid>
    </ControlTemplate>
    <Style x:Key="MilestoneContainerStyle" TargetType="gantt:MilestoneContainer">
        <Setter Property="Background" Value="{telerik:GreenResource ResourceKey=AccentHighBrush}"/>
        <Setter Property="BorderBrush" Value="{telerik:GreenResource ResourceKey=AccentHighBrush}"/>
        <Setter Property="Margin" Value="-9 0"/>
        <Setter Property="HorizontalContentAlignment" Value="Left"/>
        <Setter Property="VerticalContentAlignment" Value="Top"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="40"/>
        <Setter Property="scheduling:DragDropElement.Type" Value="Drag"/>
        <Setter Property="telerik:TouchManager.DragStartTrigger" Value="TapHoldAndMove"/>
        <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>
                            <DoubleAnimation Duration="0" To="0.25" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="LeftMarkerMouseOver"/>
                            <DoubleAnimation Duration="0" To="0.25" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="BackgroundBorderMouseOver"/>
                            <DoubleAnimation Duration="0" To="0.25" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="RightMarkerMouseOver"/>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="MouseOverHighlighted">
                        <Storyboard>
                            <DoubleAnimation Duration="0" To="0.25" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="LeftMarkerSelected"/>
                            <DoubleAnimation Duration="0" To="0.25" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="BackgroundBorderSelected"/>
                            <DoubleAnimation Duration="0" To="0.25" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="RightMarkerSelected"/>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Disabled"/>
                </VisualStateGroup>
                <VisualStateGroup x:Name="SelectionStates">
                    <VisualState x:Name="Unselected"/>
                    <VisualState x:Name="Selected">
                        <Storyboard>
                            <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="LeftMarkerSelected"/>
                            <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="BackgroundBorderSelected"/>
                            <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="RightMarkerSelected"/>
                        </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>
                            <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="LeftMarkerHighlighted"/>
                            <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="BackgroundBorderHighlighted"/>
                            <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="RightMarkerHighlighted"/>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>
            <telerik:ToolTipManager.ToolTip>
                <ToolTip ContentTemplate="{TemplateBinding ToolTipTemplate}" Content="{Binding OriginalEvent}"/>
            </telerik:ToolTipManager.ToolTip>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition/>
                <ColumnDefinition Width="Auto"/>
            </Grid.ColumnDefinitions>
            <Border Background="Transparent" IsHitTestVisible="True" Grid.ColumnSpan="3" Height="12" Margin="0" VerticalAlignment="Top"/>
            <Path x:Name="LeftMarker"
                    Data="{StaticResource ArrowTopLeft8x8}"
                    Stretch="Fill"
                    Fill="{TemplateBinding Background}"
                    Width="8"
                    Height="8"
                    Margin="0 0 0 -18"
                    HorizontalAlignment="Left"/>
            <Path x:Name="LeftMarkerHighlighted"
                    Data="{StaticResource ArrowTopLeft8x8}"
                    Stretch="Fill"
                    Fill="{telerik:GreenResource ResourceKey=ValidationBrush}"
                    Width="8"
                    Height="8"
                    Margin="0 0 0 -18"
                    HorizontalAlignment="Left"
                    Opacity="0"/>
            <Path x:Name="LeftMarkerMouseOver"
                    Data="{StaticResource ArrowTopLeft8x8}"
                    Stretch="Fill"
                    Fill="{telerik:GreenResource ResourceKey=SelectedBrush}"
                    Width="8"
                    Height="8"
                    Margin="0 0 0 -18"
                    HorizontalAlignment="Left"
                    Opacity="0"/>
            <Path x:Name="LeftMarkerSelected"
                    Data="{StaticResource ArrowTopLeft8x8}"
                    Stretch="Fill"
                    Fill="{telerik:GreenResource ResourceKey=AccentLowBrush}"
                    Width="8"
                    Height="8"
                    Margin="0 0 0 -18"
                    HorizontalAlignment="Left"
                    Opacity="0"/>
            <Border x:Name="BackgroundBorder" Grid.ColumnSpan="3" Height="10" Background="{TemplateBinding Background}"/>
            <Border x:Name="BackgroundBorderHighlighted" Grid.ColumnSpan="3" Height="10" Background="{telerik:GreenResource ResourceKey=ValidationBrush}" Opacity="0"/>
            <Border x:Name="BackgroundBorderMouseOver" Grid.ColumnSpan="3" Height="10" Background="{telerik:GreenResource ResourceKey=SelectedBrush}" Opacity="0"/>
            <Border x:Name="BackgroundBorderSelected" Grid.ColumnSpan="3" Height="10" Background="{telerik:GreenResource ResourceKey=AccentLowBrush}" Opacity="0"/>
            <Path x:Name="RightMarker"
                    Data="{StaticResource ArrowTopRight8x8}"
                    Grid.Column="2"
                    Stretch="Fill"
                    Fill="{TemplateBinding Background}"
                    Width="8"
                    Height="8"
                    Margin="0 0 0 -18"
                    HorizontalAlignment="Right"/>
            <Path x:Name="RightMarkerHighlighted"
                    Data="{StaticResource ArrowTopRight8x8}"
                    Grid.Column="2"
                    Stretch="Fill"
                    Fill="{telerik:GreenResource ResourceKey=ValidationBrush}"
                    Width="8"
                    Height="8"
                    Margin="0 0 0 -18"
                    HorizontalAlignment="Right"
                    Opacity="0"/>
            <Path x:Name="RightMarkerMouseOver"
                    Data="{StaticResource ArrowTopRight8x8}"
                    Grid.Column="2"
                    Stretch="Fill"
                    Fill="{telerik:GreenResource ResourceKey=SelectedBrush}"
                    Width="8"
                    Height="8"
                    Margin="0 0 0 -18"
                    HorizontalAlignment="Right"
                    Opacity="0"/>
            <Path x:Name="RightMarkerSelected"
                    Data="{StaticResource ArrowTopRight8x8}"
                    Grid.Column="2"
                    Stretch="Fill"
                    Fill="{telerik:GreenResource ResourceKey=AccentLowBrush}"
                    Width="8"
                    Height="8"
                    Margin="0 0 0 -18"
                    HorizontalAlignment="Right"
                    Opacity="0"/>
        </Grid>
    </ControlTemplate>
    <Style x:Key="SummaryContainerStyle" TargetType="gantt:SummaryContainer">
        <Setter Property="FontFamily" Value="{telerik:GreenResource ResourceKey=FontFamily}"/>
        <Setter Property="FontSize" Value="{telerik:GreenResource ResourceKey=FontSize}"/>
        <Setter Property="Foreground" Value="{telerik:GreenResource ResourceKey=MarkerBrush}"/>
        <Setter Property="Background" Value="{telerik:GreenResource ResourceKey=StrongBrush}"/>
        <Setter Property="Margin" Value="-4 2 -4 0"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="40"/>
        <Setter Property="scheduling:DragDropElement.Type" Value="Drag"/>
        <Setter Property="telerik:TouchManager.DragStartTrigger" Value="TapHoldAndMove"/>
        <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="FontFamily" Value="{telerik:GreenResource ResourceKey=FontFamily}"/>
        <Setter Property="FontSize" Value="{telerik:GreenResource ResourceKey=FontSize}"/>
        <Setter Property="Foreground" Value="{telerik:GreenResource ResourceKey=MarkerBrush}"/>
        <Setter Property="FontWeight" Value="Normal"/>
        <Setter Property="Background" Value="{telerik:GreenResource ResourceKey=PrimaryBrush}"/>
        <Setter Property="AlternatingBackground" Value="{telerik:GreenResource ResourceKey=PrimaryBrush}"/>
        <Setter Property="BorderBrush" Value="{telerik:GreenResource ResourceKey=BasicBrush}"/>
        <Setter Property="BorderThickness" Value="1 1 0 1"/>
        <Setter Property="Margin" Value="0"/>
        <Setter Property="Padding" Value="4 0 4 0"/>
        <Setter Property="MinHeight" Value="42"/>
        <Setter Property="HorizontalContentAlignment" Value="Left"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="VerticalAlignment" Value="Stretch"/>
        <Setter Property="SubitemsGap" Value="0"/>
        <Setter Property="SubitemsPadding" Value="0"/>
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="Template" Value="{StaticResource ColumnHeaderContainerTemplate}"/>
        <Setter Property="ContentTemplate">
            <Setter.Value>
                <DataTemplate>
                    <TextBlock Text="{Binding Header, Converter={StaticResource UpperCaseStringConverter}}"/>
                </DataTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="SimpleCellContainerStyle" TargetType="gantt:SimpleCellContainer">
        <Setter Property="FontFamily" Value="{telerik:GreenResource ResourceKey=FontFamily}"/>
        <Setter Property="FontSize" Value="{telerik:GreenResource ResourceKey=FontSize}"/>
        <Setter Property="Foreground" Value="{telerik:GreenResource ResourceKey=MarkerBrush}"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="Padding" Value="5 0"/>
        <Setter Property="MinHeight" Value="26"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="30"/>
        <Setter Property="gantt:TreeCellContainer.LevelOffset" Value="15"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gantt:SimpleCellContainer">
                    <Border Background="{TemplateBinding Background}" BorderThickness="{TemplateBinding BorderThickness}" 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="FontFamily" Value="{telerik:GreenResource ResourceKey=FontFamily}"/>
        <Setter Property="FontSize" Value="{telerik:GreenResource ResourceKey=FontSize}"/>
        <Setter Property="Foreground" Value="{telerik:GreenResource ResourceKey=MarkerBrush}"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Padding" Value="5 0"/>
        <Setter Property="MinHeight" Value="26"/>
        <Setter Property="IsHitTestVisible" Value="True"/>
        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
        <Setter Property="KeyboardNavigation.IsTabStop" Value="False"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="30"/>
        <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="Background" Value="Transparent"/>
        <Setter Property="BorderBrush" Value="{telerik:GreenResource ResourceKey=SelectedBrush}"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Margin" Value="0 0 0 0"/>
        <Setter Property="Padding" Value="5 0"/>
        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="100"/>
        <Setter Property="telerik:DragDropManager.AllowCapturedDrag" Value="True"/>
        <Setter Property="telerik:TouchManager.DragStartTrigger" Value="TapHoldAndMove"/>
        <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>
                        <Border
                                BorderBrush="{TemplateBinding BorderBrush}"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                Background="{TemplateBinding Background}"
                                HorizontalAlignment="Stretch"
                                Margin="1"/>
                        <ContentPresenter Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="CellEditingContainerStyle" TargetType="gantt:CellEditingContainer">
        <Setter Property="Foreground" Value="{telerik:GreenResource ResourceKey=MarkerBrush}"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="BorderBrush" Value="{telerik:GreenResource ResourceKey=SelectedBrush}"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="Padding" Value="2 0"/>
        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
        <Setter Property="Height" Value="26"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="50"/>
        <Setter Property="KeyboardNavigation.TabNavigation" Value="Once"/>
        <Setter Property="KeyboardNavigation.IsTabStop" Value="False"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gantt:CellEditingContainer">
                    <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Margin="1">
                        <ContentPresenter Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ContentTemplate">
            <Setter.Value>
                <DataTemplate>
                    <TextBlock x:Name="CellText" Text="{Binding FormattedValue}"/>
                </DataTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="SimpleTreeCellContainerStyle" TargetType="gantt:SimpleCellContainer" BasedOn="{StaticResource SimpleCellContainerStyle}">
        <Setter Property="Foreground" Value="{telerik:GreenResource ResourceKey=MarkerBrush}"/>
        <Setter Property="Margin" Value="0 0 0 0"/>
        <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="16" Background="Transparent" Grid.Column="0" HorizontalAlignment="Stretch">
                                <Path x:Name="PART_ExpandCollapseVisual"
                                        RenderTransformOrigin="0.5,0.5"
                                        Stretch="Fill"
                                        Width="6"
                                        VerticalAlignment="Stretch"
                                        HorizontalAlignment="Stretch"
                                        Data="{StaticResource ArrowRight5x9}"
                                        IsHitTestVisible="False"/>
                            </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="Stroke" Value="{telerik:GreenResource ResourceKey=StrongBrush}"/>
                    <Setter Property="Fill" Value="{telerik:GreenResource ResourceKey=StrongBrush}"/>
                    <Setter Property="StrokeThickness" Value="1"/>
                    <Setter Property="Height" Value="10"/>
                </Style>
            </Setter.Value>
        </Setter>
        <Setter Property="gantt:TreeCellContainer.ExpandCollapseVisualExpandedStyle">
            <Setter.Value>
                <Style TargetType="Path">
                    <Setter Property="Fill" Value="{telerik:GreenResource ResourceKey=SelectedBrush}"/>
                    <Setter Property="Stroke" Value="{telerik:GreenResource ResourceKey=SelectedBrush}"/>
                    <Setter Property="StrokeThickness" Value="1"/>
                    <Setter Property="Margin" Value="0 3 0 0"/>
                    <Setter Property="Height" Value="10"/>
                    <Setter Property="RenderTransform">
                        <Setter.Value>
                            <RotateTransform Angle="44" 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="16" Background="Transparent" Grid.Column="0" HorizontalAlignment="Stretch">
                <Path x:Name="PART_ExpandCollapseVisual"
                        RenderTransformOrigin="0.5,0.5"
                        Stretch="Fill"
                        Width="6"
                        VerticalAlignment="Stretch"
                        HorizontalAlignment="Stretch"
                        Data="{StaticResource ArrowRight5x9}"
                        IsHitTestVisible="False"/>
            </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="FontFamily" Value="{telerik:GreenResource ResourceKey=FontFamily}"/>
        <Setter Property="FontSize" Value="{telerik:GreenResource ResourceKey=FontSize}"/>
        <Setter Property="Foreground" Value="{telerik:GreenResource ResourceKey=MarkerBrush}"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="Margin" Value="0 0 0 0"/>
        <Setter Property="Padding" Value="0 0 5 0"/>
        <Setter Property="MinHeight" Value="26"/>
        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="30"/>
        <Setter Property="gantt:TreeCellContainer.LevelOffset" Value="15"/>
        <Setter Property="IsHitTestVisible" Value="True"/>
        <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="Stroke" Value="{telerik:GreenResource ResourceKey=SelectedBrush}"/>
                    <Setter Property="Fill" Value="{telerik:GreenResource ResourceKey=SelectedBrush}"/>
                    <Setter Property="StrokeThickness" Value="1"/>
                    <Setter Property="Height" Value="10"/>
                </Style>
            </Setter.Value>
        </Setter>
        <Setter Property="gantt:TreeCellContainer.ExpandCollapseVisualExpandedStyle">
            <Setter.Value>
                <Style TargetType="Path">
                    <Setter Property="Fill" Value="{telerik:GreenResource ResourceKey=SelectedBrush}"/>
                    <Setter Property="Margin" Value="0 3 0 0"/>
                    <Setter Property="Height" Value="10"/>
                    <Setter Property="RenderTransform">
                        <Setter.Value>
                            <RotateTransform Angle="44" 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>
            <Border x:Name="PART_ExpandCollapseHitArea" MinHeight="16" Background="Transparent" Grid.Column="0" HorizontalAlignment="Stretch">
                <Path x:Name="PART_ExpandCollapseVisual"
                        RenderTransformOrigin="0.5,0.5"
                        Stretch="Fill"
                        Width="6"
                        VerticalAlignment="Stretch"
                        HorizontalAlignment="Stretch"
                        Data="{StaticResource ArrowRight5x9}"
                        IsHitTestVisible="False"/>
            </Border>
            <Border
                    BorderBrush="{TemplateBinding BorderBrush}"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    Background="{TemplateBinding Background}"
                    HorizontalAlignment="Stretch"
                    Margin="-4 1 1 1"
                    Grid.Column="1"/>
            <ContentPresenter
                    Grid.Column="1"
                    Margin="{TemplateBinding Padding}"
                    HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                    VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
        </Grid>
    </ControlTemplate>
    <Style x:Key="TreeCellHighlightContainerStyle" TargetType="gantt:TreeCellContainer" BasedOn="{StaticResource TreeCellContainerStyle}">
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="BorderBrush" Value="{telerik:GreenResource ResourceKey=SelectedBrush}"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Margin" Value="0"/>
        <Setter Property="Padding" Value="0 0 5 0"/>
        <Setter Property="telerik:DragDropManager.AllowCapturedDrag" Value="True"/>
        <Setter Property="telerik:TouchManager.DragStartTrigger" Value="TapHoldAndMove"/>
        <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="Margin" Value="0"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="HorizontalAlignment" Value="Stretch"/>
        <Setter Property="HorizontalContentAlignment" Value="Left"/>
        <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="16" Background="Transparent" Grid.Column="0" HorizontalAlignment="Stretch">
                            <Path x:Name="PART_ExpandCollapseVisual"
                                    RenderTransformOrigin="0.5,0.5"
                                    Stretch="Fill"
                                    Width="6"
                                    VerticalAlignment="Stretch"
                                    HorizontalAlignment="Stretch"
                                    Data="{StaticResource ArrowRight5x9}"
                                    IsHitTestVisible="False"/>
                        </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="Stroke" Value="{telerik:GreenResource ResourceKey=SelectedBrush}"/>
                    <Setter Property="Fill" Value="{telerik:GreenResource ResourceKey=SelectedBrush}"/>
                    <Setter Property="StrokeThickness" Value="1"/>
                    <Setter Property="Height" Value="10"/>
                </Style>
            </Setter.Value>
        </Setter>
        <Setter Property="gantt:TreeCellContainer.ExpandCollapseVisualExpandedStyle">
            <Setter.Value>
                <Style TargetType="Path">
                    <Setter Property="Fill" Value="{telerik:GreenResource ResourceKey=SelectedBrush}"/>
                    <Setter Property="Margin" Value="0 3 0 0"/>
                    <Setter Property="Height" Value="10"/>
                    <Setter Property="RenderTransform">
                        <Setter.Value>
                            <RotateTransform Angle="44" CenterX="0.5" CenterY="0.5"/>
                        </Setter.Value>
                    </Setter>
                </Style>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="BorderContainerStyle" TargetType="telerik:BorderContainer">
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="BorderBrush" Value="{telerik:GreenResource ResourceKey=BasicBrush}"/>
        <Setter Property="BorderThickness" Value="1 0"/>
        <Setter Property="Margin" Value="0 -1 -1 0"/>
        <Setter Property="IsHitTestVisible" Value="True"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="5"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerik:BorderContainer">
                    <Rectangle x:Name="BorderVisual"
                            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" BasedOn="{StaticResource BorderContainerStyle}"/>
    <Style x:Key="GroupTickContainerStyle" TargetType="telerik:GroupTickContainer">
        <Setter Property="FontFamily" Value="{telerik:GreenResource ResourceKey=FontFamily}"/>
        <Setter Property="FontSize" Value="{telerik:GreenResource ResourceKey=FontSize}"/>
        <Setter Property="Foreground" Value="{telerik:GreenResource ResourceKey=MarkerBrush}"/>
        <Setter Property="Background" Value="{telerik:GreenResource ResourceKey=PrimaryBrush}"/>
        <Setter Property="BorderBrush" Value="{telerik:GreenResource ResourceKey=BasicBrush}"/>
        <Setter Property="BorderThickness" Value="0 1 1 1"/>
        <Setter Property="Padding" Value="6 2 6 0"/>
        <Setter Property="VerticalContentAlignment" Value="Top"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerik:GroupTickContainer">
                    <Border
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            Background="{TemplateBinding Background}"
                            HorizontalAlignment="Stretch"
                            VerticalAlignment="Stretch">
                        <TextBlock Text="{Binding FormattedValue}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="MajorTickContainerStyle" TargetType="telerik:MajorTickContainer">
        <Setter Property="FontFamily" Value="{telerik:GreenResource ResourceKey=FontFamily}"/>
        <Setter Property="FontSize" Value="{telerik:GreenResource ResourceKey=FontSize}"/>
        <Setter Property="Foreground" Value="{telerik:GreenResource ResourceKey=MarkerBrush}"/>
        <Setter Property="Background" Value="{telerik:GreenResource ResourceKey=PrimaryBrush}"/>
        <Setter Property="BorderBrush" Value="{telerik:GreenResource ResourceKey=BasicBrush}"/>
        <Setter Property="BorderThickness" Value="0 0 1 1"/>
        <Setter Property="Padding" Value="6 2 0 0"/>
        <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, Converter={StaticResource UpperCaseStringConverter}}" Margin="{TemplateBinding Padding}"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="MinorTickContainerStyle" TargetType="telerik:MinorTickContainer">
        <Setter Property="FontFamily" Value="{telerik:GreenResource ResourceKey=FontFamily}"/>
        <Setter Property="FontSize" Value="{telerik:GreenResource ResourceKey=FontSize}"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="BorderBrush" Value="{telerik:GreenResource ResourceKey=BasicBrush}"/>
        <Setter Property="BorderThickness" Value="0 0 1 1"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerik:MinorTickContainer">
                    <Border
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            Background="{TemplateBinding Background}"
                            HorizontalAlignment="Stretch"
                            VerticalAlignment="Stretch"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="CurrentHourTickContainerStyle" TargetType="telerik:CurrentHourTickContainer">
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="BorderBrush" Value="{telerik:GreenResource ResourceKey=AccentLowBrush}"/>
        <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="Background" Value="{telerik:GreenResource ResourceKey=MouseOverBrush}"/>
        <Setter Property="BorderBrush" Value="{telerik:GreenResource ResourceKey=MouseOverBrush}"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="Margin" Value="0 -1 0 0"/>
        <Setter Property="Padding" Value="0 1"/>
        <Setter Property="IsHitTestVisible" Value="False"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="15"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerik:RowHighlightContainer">
                    <Border
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            Background="{TemplateBinding Background}"
                            HorizontalAlignment="Stretch"
                            VerticalAlignment="Stretch"
                            Margin="{TemplateBinding Padding}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="RowSelectionContainerStyle" TargetType="telerik:RowSelectionContainer">
        <Setter Property="Background" Value="{telerik:GreenResource ResourceKey=AccentHighBrush}"/>
        <Setter Property="BorderBrush" Value="{telerik:GreenResource ResourceKey=AccentHighBrush}"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="Margin" Value="0 -1 0 0"/>
        <Setter Property="Padding" Value="0 1"/>
        <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}">
                        <Border Background="{TemplateBinding Background}"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="SpecialSlotContainerStyle" TargetType="telerik:SpecialSlotContainer">
        <Setter Property="Background" Value="{telerik:GreenResource ResourceKey=AlternativeBrush}"/>
        <Setter Property="BorderBrush" Value="{telerik:GreenResource ResourceKey=BasicBrush}"/>
        <Setter Property="BorderThickness" Value="1 0"/>
        <Setter Property="Margin" Value="-1 0 0 0"/>
        <Setter Property="Opacity" Value="0.4"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="10"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerik:SpecialSlotContainer">
                    <Border x:Name="BorderVisual"
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            Background="{TemplateBinding Background}"
                            HorizontalAlignment="Stretch"
                            VerticalAlignment="Stretch"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="DeadlineContainerStyle" TargetType="gantt:DeadlineContainer">
        <Setter Property="Background" Value="{telerik:GreenResource ResourceKey=ValidationBrush}"/>
        <Setter Property="Margin" Value="0 0 -4 0"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="100"/>
        <Setter Property="SnapsToDevicePixels" Value="True"/>
        <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="{TemplateBinding Background}" Margin="0 1" MinHeight="26" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
                        </Grid>
                    </StackPanel>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="OnTimeIndicatorContainerStyle" TargetType="gantt:OnTimeIndicatorContainer">
        <Setter Property="Foreground" Value="{telerik:GreenResource ResourceKey=FixedBrush}"/>
        <Setter Property="Margin" Value="13 -5 -30 0"/>
        <Setter Property="Padding" Value="5 0"/>
        <Setter Property="MinHeight" Value="17"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="telerik:ZIndexManager.ZIndex" Value="35"/>
        <Setter Property="IsHitTestVisible" Value="False"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gantt:OnTimeIndicatorContainer">
                    <Grid>
                        <Ellipse
                                Visibility="{Binding OriginalEvent.IsExpired, Converter={StaticResource BooleanToVisibilityConverter}}"
                                Fill="{telerik:GreenResource ResourceKey=ValidationBrush}"
                                Height="12"
                                VerticalAlignment="Center"
                                Width="12"/>
                        <Ellipse
                                Visibility="{Binding OriginalEvent.IsExpired, Converter={StaticResource InvertedBooleanToVisibilityConverter}}"
                                Fill="{telerik:GreenResource ResourceKey=AccentHighBrush}"
                                Height="12"
                                VerticalAlignment="Center"
                                Width="12"/>
                        <Path Stretch="Fill" Fill="{TemplateBinding Foreground}" Data="{StaticResource PointerDown14x21}" Width="6" Height="8" VerticalAlignment="Center"/>
                    </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>
