<Grid.Resources>
<!--To change the appearence of Gantt Node-->
<Style x:Key="TaskNode" TargetType="{x:Type chart:GanttNode}">
<Setter Property="Template">
…
<Thumb x:Name="PART_DragDropThumb"
Grid.Column="0"
Grid.ColumnSpan="3"
Cursor="SizeAll"
IsEnabled="False">
<Thumb.Template>
<ControlTemplate>
<Border Background="Transparent" />
</ControlTemplate>
</Thumb.Template>
</Thumb>
…
<Thumb x:Name="PART_ProgressThumb"
HorizontalAlignment="Right"
Cursor="SizeWE"
IsEnabled="False">
<Thumb.Template>
<ControlTemplate>
<Border Background="Transparent" BorderBrush="Transparent">
<Rectangle Width="5"
Height="2"
Fill="Transparent" />
</Border>
</ControlTemplate>
</Thumb.Template>
</Thumb>
</Grid>
</Border>
<Thumb x:Name="PART_RightThumb"
Grid.Column="2"
HorizontalAlignment="Right"
Cursor="ScrollE"
IsEnabled="False">
<Thumb.Template>
<ControlTemplate>
<Border Width="4"
Height="20"
Background="Transparent"
BorderBrush="Transparent"
BorderThickness="0" />
</ControlTemplate>
</Thumb.Template>
</Thumb>
<Thumb x:Name="PART_LeftThumb"
Grid.Column="0"
HorizontalAlignment="Left"
Cursor="ScrollW"
IsEnabled="False">
<Thumb.Template>
<ControlTemplate>
<Border Width="4"
Height="20"
Background="Transparent"
BorderBrush="Transparent"
BorderThickness="0" />
</ControlTemplate>
</Thumb.Template>
</Thumb>
…
</Setter>
</Style> |