xmlns:igtl="clr-namespace:Infragistics.Controls.Timelines;assembly=InfragisticsWPF.Controls.Timelines.XamTimeline.v9.2"
<!-- resources used by EventTitle template -->
<LinearGradientBrush x:Key="EventTitleBackgroundBrush" StartPoint="0,0" EndPoint="0,1">
<LinearGradientBrush.GradientStops>
<GradientStopCollection>
<GradientStop Offset="0" Color="#FFffffff"
<GradientStop Offset="1" Color="#FFeff1f3"
</GradientStopCollection>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
<LinearGradientBrush x:Key="EventTitleBorderBrush" StartPoint="0,0" EndPoint="0,1">
<LinearGradientBrush.GradientStops>
<GradientStopCollection>
<GradientStop Color="#FFa3aeb9" Offset="0"
<GradientStop Color="#FF8399a9" Offset="0.3700000047683716"
<GradientStop Color="#FF718597" Offset="0.3709999918937683"
<GradientStop Color="#FF617584" Offset="1"
</GradientStopCollection>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
<!-- default EventTitle template -->
<Style TargetType="igtl:EventTitle">
<Setter Property="MaxWidth" Value="180"
<Setter Property="IsTabStop" Value="
<Setter Property="Background" Value="{StaticResource EventTitleBackgroundBrush}"
<Setter Property="Foreground" Value="#FF333333"
<Setter Property="BorderThickness" Value="1"
<Setter Property="BorderBrush" Value="{StaticResource EventTitleBorderBrush}"
<Setter Property="PointStringFormat" Value="{}[{0}]"
<Setter Property="SpanStringFormat" Value="{}[{0}-{1}]"
<Setter Property="Padding" Value="5"
<Setter Property="LineStyle">
<Setter.Value>
<Style TargetType="Line">
<Setter Property="StrokeThickness" Value="1"
<Setter Property="Stroke" Value="{StaticResource EventTitleBorderBrush}"
<Setter Property="Canvas.ZIndex" Value="-1"
<Setter Property="Margin" Value="0,3,0,0"
<Setter Property="UseLayoutRounding" Value="True"
</Style>
</Setter.Value>
</Setter>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="igtl:EventTitle">
<Border BorderThickness="0,0,1,1"
BorderBrush="#59617583"
CornerRadius="4">
<Border HorizontalAlignment="Left"
BorderThickness="{TemplateBinding BorderThickness}"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
CornerRadius="3"
UseLayoutRounding="True">
<Grid>
<Border BorderBrush="#FFFFFFFF"
BorderThickness="1"
CornerRadius="2"
<Grid Margin="{TemplateBinding Padding}">
<Grid.RowDefinitions>
<RowDefinition Height="*"
<RowDefinition Height="Auto"
</Grid.RowDefinitions>
<TextBlock Text="{TemplateBinding FormattedText}"
TextWrapping="Wrap"
<TextBlock Text="{TemplateBinding Title}"
TextWrapping="Wrap"
Grid.Row="1"
</Grid>
</Grid>
</Border>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>