Note: The properties discussed in this section applies to both GanttControl and FlexyGantt.
WorkingTimeBackground
This setting lets you customize the background of the "working time" regions in the chart.
<!--Resource section-->
<SolidColorBrush x:Key="CustomWorkingBrush" Color="White" Opacity="0.75"></SolidColorBrush>
<!--Within the layout-->
<gantt:GanttControl x:Name="ganttControl" Grid.Column="1"
TaskItemBarFill="{StaticResource CustomBarFill}" TaskItemBarStroke="{StaticResource CustomBarStroke}"
TaskItemProgressFill="{StaticResource CustomProgressFill}" WorkingTimeBackground="{StaticResource CustomWorkingBrush}" />
After adding a custom WorkingTimeBackground
(it might be hard to visualize the 25% transparency)
NonWorkingTimeBackground
This setting lets you customize the background of the "non working time" regions in the chart.
<!--Resource section-->
<SolidColorBrush x:Key="CustomNonWorkingBrush" Color="#DFE9F2" Opacity="0.75"></SolidColorBrush>
<!--Within the layout-->
<gantt:GanttControl x:Name="ganttControl" Grid.Column="1"
TaskItemBarFill="{StaticResource CustomBarFill}" TaskItemBarStroke="{StaticResource CustomBarStroke}"
TaskItemProgressFill="{StaticResource CustomProgressFill}" WorkingTimeBackground="{StaticResource CustomWorkingBrush}"
NonWorkingTimeBackground="{StaticResource CustomNonWorkingBrush}"/>
After adding a custom NonWorkingTimeBackground
(this custom color is only slightly darker than the default color)
� RadiantQ 2009 - 2019. All Rights Reserved.